This is the mail archive of the java@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: JNI field validation?


>>>>> "TT" == Tom Tromey <tromey@redhat.com> writes:

TT> I looked a bit more and it looks like the problem instead has to
TT> do with class initialization.  Using the debugger I can see that
TT> the field's type isn't correctly set, so the code in
TT> _Jv_JNI_GetAnyFieldID never finds the field.

Yeah, I traced through it and I see that the array/class lookup works
ok for the desired class, but the value sitting in the class is different
for some reason.


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