This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JNI and java.nio.ByteBuffer
- From: Anthony Green <green at redhat dot com>
- To: Bryce McKinlay <mckinlay at redhat dot com>
- Cc: Anders Dahlberg <andda715 at student dot liu dot se>, java at gcc dot gnu dot org
- Date: Sat, 12 Feb 2005 13:56:55 -0800
- Subject: Re: JNI and java.nio.ByteBuffer
- Organization: Red Hat, Inc.
- References: <409150F7.8090903@student.liu.se> <409182EC.3030900@redhat.com>
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