This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: natField.cc patch to use getType()


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]