RFR 8055284: sanity/WhiteBox.java fails with NPE
Mikael Gerdin
mikael.gerdin at oracle.com
Mon Aug 18 13:30:25 UTC 2014
Hi all,
sanity/WhiteBox.java was mistakenly modified by a recent mass-update of
jtreg whitebox tests to allow them to pass with the -Xverify:all flag.
The problem is that sanity/WhiteBox.java is a special test which
provides its own version of the sun.hotspot.WhiteBox class.
The change is therefore not applicable to the test and the nested
WhiteBoxPermission class does not exist, causing the test to fail with
an NPE because of the missing class file.
Webrev: http://cr.openjdk.java.net/~mgerdin/8055284/webrev.0/
Bug: https://bugs.openjdk.java.net/browse/JDK-8055284
Thanks to Dmitry Fazunenko for putting the suggested fix into the bug
comments, I'll put his name as a contributor on the changeset.
/Mikael
More information about the hotspot-dev
mailing list