natField.cc patch to use getType()
Tom Tromey
tromey@redhat.com
Thu Nov 7 08:24:00 GMT 2002
>>>>> "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
More information about the Java-patches
mailing list