Bug in JNI RegisterNatives?

Tom Tromey tromey@redhat.com
Mon May 29 21:18:00 GMT 2006


>>>>> "Juerg" == Juerg Lehni <juerg@scratchdisk.com> writes:

Juerg> I believe I discovered a rather serious bug in GCJ's implementation
Juerg> of JNI RegisterNatives.

Yes, I think you're right.

Juerg> This should not be too hard to fix. One could for example use the
Juerg> class name plus the mehtod name instead of only the method name when
Juerg> storing native methods in nathash.

Yeah, I think we should do this.

If you're not planning to submit a patch, could you file this in
bugzilla?

Tom



More information about the Java mailing list