[BC] Patch: FYI: linking -vs- verification
Tom Tromey
tromey@redhat.com
Mon Nov 8 15:41:00 GMT 2004
>> * link.cc (verify_type_assertions): Ensure classes have supers
>> linked. Strip off array types first.
Bryce> Perhaps we can just put the wait_for_state()'s in
Bryce> _Jv_IsAssignableFromSlow()? I can imagine other places where we might
Bryce> try to call this on a class that hasn't been loaded.
There are only 3 calls to _Jv_IsAssignableFromSlow.
The one in _Jv_CheckAssignment seems dead. While that function is
defined for use in the compiler, the compiler never seems to actually
generate a call to it.
The one in _Jv_CheckAccess seems suitably protected by other calls.
But, yeah, I suppose it makes sense, I'll do it later.
Tom
More information about the Java-patches
mailing list