dev@glassfish.java.net

Re: [_at_V] Questions on Closure Implementation in Verifier

From: Sahoo <Sahoo_at_Sun.COM>
Date: Wed, 23 Apr 2008 23:32:34 +0530

Seema Richard wrote:
> Sahoo,
>
> I was looking at the closure implementation in the Verifier source code
> to understand how the referenced classes were being checked for non
> portable API.
>
> In the ASM-based implementation, the owning classes of referenced
> methods are included. But I think the classes of the declared fields are
> not included. However in BCEL, the types of instance variables are also
> included. Is this something that needs to be improved in the ASM part?
>
>
Yes, it appears that the ASM based implementation needs some
improvement. A quick look at the code suggests that this information
should be captured as part of load(String className) method in that file.

Thanks,
Sahoo