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]

Re: The old _Jv_InitClass problem is still present in 3.1 (patch included)


>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

Bryce> I looked at this some more. Could you try this patch instead? I
Bryce> don't think its correct to initialize "target" just because its
Bryce> the subject of an instanceof or checkcast.

I agree.  I looked in the JLS and I think both these are considered
passive uses, which don't cause class initialization.

Tom


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