This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: natField.cc patch to use getType()
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 07 Nov 2002 09:16:44 -0700
- Subject: Re: natField.cc patch to use getType()
- References: <1036683851.5337.54.camel@elsschot>
- Reply-to: tromey at redhat dot com
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> The following patch always uses getType() to access the class of
Mark> a field. This makes sure that the Class is always resolved
Mark> before being used.
This patch is fine.
But I'm curious: getType doesn't initialize the class, it just calls
_Jv_ResolveField. Should this be initializing the class instead?
Tom