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]
Other format: [Raw text]

Re: JNI and java.nio.ByteBuffer


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



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