RFR(S/M): 8073793: serviceability/dcmd/compiler/CodelistTest.java fails with ClassNotFoundException trying to load VM anonymous class

Nils Eliasson nils.eliasson at oracle.com
Thu Feb 25 15:02:02 UTC 2016


Hi,

Please review this fix of the CodelistTest.

Summary:
The test iterated over the output and tried to reflect some Classes for 
verification. This is fragile since some classes are not reflectable and 
it changes over time.

Solution:
Instead ensure compilation of some select methods, on different compile 
levels, and verify that those methods show up in the output.

Testing:
Test run on all platforms.

This change requires: https://bugs.openjdk.java.net/browse/JDK-8150646

Bug: https://bugs.openjdk.java.net/browse/JDK-8073793
Webrev: http://cr.openjdk.java.net/~neliasso/8073793/webrev.01/

Best regards,
Nils Eliasson


More information about the hotspot-compiler-dev mailing list