Prof. Etienne M. Gagnon wrote:
> Doesn't the JVM spec mandates to search super interfaces and classes?
> I know it is surprizing, but that is so, even for "static" methods
> and fields!!!
Yes, that is surprising..
So you're right when talking about resolving a CONSTANT_Fieldref
in a class file.. as for the JNI GetStaticFieldID() method, the spec
doesn't really say, but I guess it makes the most sense to follow the
same semantics as with CONSTANT_Fieldref... OK :-)
Thanks,
-Archie
__________________________________________________________________________
Archie Cobbs * Packet Design * http://www.packetdesign.com
|