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?


Tom> I wrote a short test for this and it works when I interpret the
Tom> class but not when the class is compiled.  That might mean there
Tom> is a bug in the stub.  I'll check the test in sometime soon.

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

I'll see if I can debug this more a bit later.

Tom


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