This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [BC] Patch: FYI: linking -vs- verification
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 08 Nov 2004 08:39:45 -0700
- Subject: Re: [BC] Patch: FYI: linking -vs- verification
- References: <m3d5yr4p73.fsf@localhost.localdomain><418F8E9B.3070700@redhat.com>
- Reply-to: tromey at redhat dot com
>> * 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