RFR: 8344718: Test runtime/cds/appcds/jigsaw/addmods/AddmodsOption.java fails on Linuxppc64le after JDK-8344239

Matthias Baesken mbaesken at openjdk.org
Thu Nov 21 14:12:30 UTC 2024


We run on Linux ppc64le into this error

java.lang.ExceptionInInitializerError
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1166)
at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:340)
at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(MethodHandleAccessorFactory.java:71)
at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:141)
at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:711)
at java.base/java.lang.reflect.Method.invoke(Method.java:562)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1447)
Caused by: java.lang.NullPointerException: Cannot invoke "java.lang.Boolean.booleanValue()" because the return value of "jdk.test.whitebox.WhiteBox.getBooleanVMFlag(String)" is null
at AddmodsOption.<clinit>(AddmodsOption.java:42)

-------------

Commit messages:
 - JDK-8344718

Changes: https://git.openjdk.org/jdk/pull/22294/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22294&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8344718
  Stats: 5 lines in 1 file changed: 0 ins; 3 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/22294.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22294/head:pull/22294

PR: https://git.openjdk.org/jdk/pull/22294


More information about the hotspot-runtime-dev mailing list