Skip to content

Commit b4deb4d

Browse files
authored
ignore module-info class (aws#415)
ignore module-info class, release 2.3.1
1 parent 5235ced commit b4deb4d

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

aws-lambda-java-runtime-interface-client/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pom.xml
7070
<dependency>
7171
<groupId>com.amazonaws</groupId>
7272
<artifactId>aws-lambda-java-runtime-interface-client</artifactId>
73-
<version>2.3.0</version>
73+
<version>2.3.1</version>
7474
</dependency>
7575
</dependencies>
7676
<build>

aws-lambda-java-runtime-interface-client/RELEASE.CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### March 15, 2023
2+
`2.3.1`
3+
- ignore module-info for CDS preparation purposes
4+
15
### March 14, 2023
26
`2.3.0`
37
- added CRaC context implementation

aws-lambda-java-runtime-interface-client/src/main/java/com/amazonaws/services/lambda/runtime/api/client/ClasspathLoader.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ public class ClasspathLoader {
2626
static {
2727
// NativeClient loads a native library and crashes if loaded here so just exclude it
2828
BLOCKLIST.add("com.amazonaws.services.lambda.runtime.api.client.runtimeapi.NativeClient");
29+
// Ignore module info class for serialization lib
30+
BLOCKLIST.add("META-INF.versions.9.module-info");
2931
}
3032

3133
private static String pathToClassName(final String path) {

0 commit comments

Comments
 (0)