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

Dmitry Samersoff dmitry.samersoff at oracle.com
Fri Aug 19 12:51:26 UTC 2016


Gustavo,

1. Make sure you have fresh jdk9 workspace
2. Make sure you have recent jtreg

Please check:

https://bugs.openjdk.java.net/browse/JDK-8154258
https://bugs.openjdk.java.net/browse/JDK-8155957

-Dmitry

On 2016-08-18 23:48, Gustavo Romero wrote:
> 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
> 


-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.


More information about the hotspot-dev mailing list