Details
-
Bug
-
Resolution: Fixed
-
P4
-
23
-
b10
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8339240 | 21.0.6-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | master |
JDK-8339244 | 17.0.14-oracle | PAWAN CHAWDHARY | P4 | Resolved | Fixed | master |
Description
make CONF_NAME=linux-x64 LOG=info TEST="runtime/cds/appcds/ProhibitedPackage.java" JTREG_JAVA_OPTIONS="-XX:+UseLargePages" test
stdout: [[0.001s][warning][pagesize] UseLargePages disabled, no large pages configured and available on the system.
[0.009s][info ][cds ] Core region alignment: 4096
[0.028s][info ][cds ] JVM_StartThread() ignored: java.lang.ref.Reference$ReferenceHandler
[0.028s][info ][cds ] JVM_StartThread() ignored: java.lang.ref.Finalizer$FinalizerThread
[0.041s][info ][cds ] Loading classes to share ...
[0.041s][info ][cds ] Parsing /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/images/jdk/lib/classlist
[0.094s][info ][cds ] JVM_StartThread() ignored: jdk.internal.misc.InnocuousThread
[0.132s][info ][cds ] Parsing /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/test-support/jtreg_test_hotspot_jtreg_runtime_cds_appcds_ProhibitedPackage_java/scratch/0/runtime.cds.appcds.ProhibitedPackage.java-test.classlist
[0.132s][info ][cds ] Prohibited package for non-bootstrap classes: java/lang/Prohibited.class from /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/test-support/jtreg_test_hotspot_jtreg_runtime_cds_appcds_ProhibitedPackage_java/scratch/0/prohibited_pkg.jar
[0.132s][warning][cds ] java.lang.ClassNotFoundException:
...
java.lang.RuntimeException: '[cds] Prohibited package for non-bootstrap classes: java/lang/Prohibited.class' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
at ProhibitedPackage.main(ProhibitedPackage.java:57)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
stdout: [[0.001s][warning][pagesize] UseLargePages disabled, no large pages configured and available on the system.
[0.009s][info ][cds ] Core region alignment: 4096
[0.028s][info ][cds ] JVM_StartThread() ignored: java.lang.ref.Reference$ReferenceHandler
[0.028s][info ][cds ] JVM_StartThread() ignored: java.lang.ref.Finalizer$FinalizerThread
[0.041s][info ][cds ] Loading classes to share ...
[0.041s][info ][cds ] Parsing /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/images/jdk/lib/classlist
[0.094s][info ][cds ] JVM_StartThread() ignored: jdk.internal.misc.InnocuousThread
[0.132s][info ][cds ] Parsing /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/test-support/jtreg_test_hotspot_jtreg_runtime_cds_appcds_ProhibitedPackage_java/scratch/0/runtime.cds.appcds.ProhibitedPackage.java-test.classlist
[0.132s][info ][cds ] Prohibited package for non-bootstrap classes: java/lang/Prohibited.class from /home/dnsimon/dev/jdk-jdk/open/build/linux-x64/test-support/jtreg_test_hotspot_jtreg_runtime_cds_appcds_ProhibitedPackage_java/scratch/0/prohibited_pkg.jar
[0.132s][warning][cds ] java.lang.ClassNotFoundException:
...
java.lang.RuntimeException: '[cds] Prohibited package for non-bootstrap classes: java/lang/Prohibited.class' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:252)
at ProhibitedPackage.main(ProhibitedPackage.java:57)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
Attachments
Issue Links
- backported by
-
JDK-8339240 runtime/cds/appcds/ProhibitedPackage.java can fail with UseLargePages
- Resolved
-
JDK-8339244 runtime/cds/appcds/ProhibitedPackage.java can fail with UseLargePages
- Resolved