JNI and java.nio.ByteBuffer

Anthony Green green@redhat.com
Mon Feb 14 16:54:00 GMT 2005


On Thu, 2004-04-29 at 18:34 -0400, Bryce McKinlay wrote:
> The problem seems to be due to a bug in our JNI RegisterNatives 
> implementation. 

The problem appears to be that RegisterNatives is being called with
signatures like "(IILjava/nio/Buffer;I)", but the signatures in the
_Jv_Method are recorded as "(IILjava.nio.Buffer;I)", so we never get a
match.

Should RegisterNatives handle this, or should the signatures have been
munged already in the _Jv_Method?

AG




More information about the Java mailing list