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

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Wed Jan 24 18:55:09 UTC 2018


Hi Jini,

It looks good to me.

Thanks,
Serguei


On 1/24/18 09:43, Jini George wrote:
> 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