Request for review: 7145358: SA throws ClassCastException for partially loaded ConstantPool

Staffan Larsen staffan.larsen at oracle.com
Fri Feb 17 01:40:51 PST 2012


Looks good!

On 16 feb 2012, at 13:01, Poonam Bajaj wrote:

> Request for review:
> 
> CR 7145358: SA throws ClassCastException for partially loaded ConstantPool
> webrev: http://cr.openjdk.java.net/~poonam/7145358/webrev.00/
> Contributed by: Krystal Mok <sajia at taobao.com>
> 
> If the poolHolder field in ConstantPool is not set, then printValueOn() 
> in ConstantPool.java throws java.lang.ClassCastException. The fix is to 
> first check if the poolHolder in ConstantPool is a valid Klass and only 
> then print it.
> 
> 
> Thanks,
> Poonam
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20120217/588262f0/attachment.html 


More information about the serviceability-dev mailing list