RFR(L): JDK-8154258 [TESTBUG] Various serviceability tests fail compilation

Dmitry Samersoff dmitry.samersoff at oracle.com
Mon Apr 25 11:50:26 UTC 2016


Everybody,

Please review the changes.

http://cr.openjdk.java.net/~dsamersoff/JDK-8154258/webrev.04/

1. Change hotspot/test/testlibrary/jdk/test/lib/Utils.java to match
    <root>/test/lib/share/classes/jdk/test/lib/Utils.java
    i.e. replace sun.misc.Unsafe to jdk.internal.misc.Unsafe

2. Add the tag
      @modules java.base/jdk.internal.misc
   to all tests that uses testlibrary

3. Replace all occurrence of sun.misc.Unsafe to jdk.internal.misc.Unsafe

Testing: local, RBT:hotspot_all

-Dmitry

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