JNI field validation?

Tom Tromey tromey@redhat.com
Thu Mar 22 10:58:00 GMT 2001


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /