RFR(s) 8245060: remove copying of s.h.WB$WhiteBoxPermission in cds/appcds tests

Calvin Cheung calvin.cheung at oracle.com
Thu Jun 11 22:43:42 UTC 2020


JBS: https://bugs.openjdk.java.net/browse/JDK-8245060

webrev: http://cr.openjdk.java.net/~ccheung/jdk16/8245060/webrev.00/

Most changes involve removing the 
sun.hotspot.WhiteBox$WhiteBoxPermission from the following:

@run driver ClassFileInstaller sun.hotspot.WhiteBox 
sun.hotspot.WhiteBox$WhiteBoxPermission

Two additional cleanups:
- remove the unneeded SkippedException related code from the tests under 
dynamicArchive/methodHandles;
- remove the JarBuilder.addInnerClasses method since its purpose is to 
add the sun.hotspot.WhiteBox$WhiteBoxPermission inner class.

Passed tier1, 2 tests.

thanks,

Calvin



More information about the hotspot-runtime-dev mailing list