RFR(XS): 8209736: runtime/RedefineTests/ModifyAnonymous.java fails with NullPointerException when running in CDS mode

Calvin Cheung calvin.cheung at oracle.com
Fri Aug 31 18:33:17 UTC 2018

bug: https://bugs.openjdk.java.net/browse/JDK-8209736

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

The test failure is no longer reproducible; it happened only once in 
tier3 and once in tier6 testing.
This simple change is just adding a null check on the variable clazz and 
prints the array size and index if it is null.

Testing: hs-tier{1,2,3} with default CDS archive in JDK.


More information about the hotspot-runtime-dev mailing list