RFR: SA: clhsdb 'printall' throws ClassCastException while printing out the bytecodes

Jini George jini.george at oracle.com
Wed Jan 24 17:43:37 UTC 2018


Hello,

Requesting reviews for the issue:

SA: clhsdb 'printall' throws ClassCastException while printing out the 
bytecodes

ID: https://bugs.openjdk.java.net/browse/JDK-8175384
Webrev: http://cr.openjdk.java.net/~jgeorge/8175384/webrev.01/

The issue was seen while printing out the details of the invokevirtual 
bytecode of the java.lang.Enum.values() method. The fix is to avoid a 
ClassCastException by returning the bottom klass in the case of an 
object array klass, while printing out the details.

Tests run: The SA tests pass with Mach5 and jprt.

Thanks,
Jini.


More information about the serviceability-dev mailing list