IllegalAccessError: class jdk.test.lib.Utils cannot access class jdk.internal.misc.Unsafe

Gustavo Romero gromero at linux.vnet.ibm.com
Thu Aug 18 20:48:37 UTC 2016


Hi,

On jdk9/hs-comp 37de4195dd18 tip, jdk9/hs-comp/hostpot f932a58df902 tip
all jtreg tests found under compiler/rtm/locking (https://goo.gl/VuGX1L)
are failing with a message similar like:

Exception in thread "main" java.lang.IllegalAccessError: class jdk.test.lib.Utils (in unnamed module @0x5c7fa833) cannot access class jdk.internal.misc.Unsafe (in module java.base) because module
java.base does not export jdk.internal.misc to unnamed module @0x5c7fa833

Please, find a full log example here: https://goo.gl/1PkJ6x

I understand this failure is related to

https://bugs.openjdk.java.net/browse/JDK-8164323
https://bugs.openjdk.java.net/browse/JDK-8164324

which are duplicates of

https://bugs.openjdk.java.net/browse/JDK-8163871

that, by its turn, is not publicly available.

If it's correct, is this issue understood and expected to be fixed
before the rampdown start, on 2016/09/01?

Thank you.

Regards,
Gustavo



More information about the hotspot-dev mailing list