Poonam,
Looks good.
Thanks,
Serguei
On 2/16/12 4:01 AM, Poonam Bajaj wrote:
Request for review:
CR 7145358
<http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7145358>: SA
throws ClassCastException for partially loaded ConstantPool
webrev: http://cr.openjdk.java.net/~poonam/7145358/webrev.00/
Contributed by: Krystal Mok <[email protected] <mailto:[email protected]>>
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