The newly added test runtime/cds/appcds/jigsaw/module/EnableNativeAccessCDS.java fails, the test log snippet:
[STDERR]
Error: --enable-native-access requires modules to be specified
[2024-12-04T08:29:52.487783324Z] Waiting for completion for process 654635
[2024-12-04T08:29:52.487926657Z] Waiting for completion finished for process 654635
STDERR:
stdout: [];
stderr: [Error: --enable-native-access requires modules to be specified
]
exitValue = 1
java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
at jdk.test.lib.cds.CDSTestUtils.checkBaseDump(CDSTestUtils.java:300)
at TestCommon.dumpBaseArchive(TestCommon.java:154)
at EnableNativeAccessCDS.main(EnableNativeAccessCDS.java:47)
[STDERR]
Error: --enable-native-access requires modules to be specified
[2024-12-04T08:29:52.487783324Z] Waiting for completion for process 654635
[2024-12-04T08:29:52.487926657Z] Waiting for completion finished for process 654635
STDERR:
stdout: [];
stderr: [Error: --enable-native-access requires modules to be specified
]
exitValue = 1
java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
at jdk.test.lib.cds.CDSTestUtils.checkBaseDump(CDSTestUtils.java:300)
at TestCommon.dumpBaseArchive(TestCommon.java:154)
at EnableNativeAccessCDS.main(EnableNativeAccessCDS.java:47)
- links to
-
Commit(master) openjdk/jdk/9c3d3b95
-
Review(master) openjdk/jdk/22555