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

Martin Doerr mdoerr at openjdk.org
Fri Nov 22 10:04:15 UTC 2024


On Thu, 21 Nov 2024 14:07:30 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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)

Ok, this seems to be what was meant by https://github.com/openjdk/jdk/commit/9be8ac6fbcf1a91e5eee9d3a3430dc356b89283e

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22294#pullrequestreview-2454026627


More information about the hotspot-runtime-dev mailing list