This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JNI bug?
Marco Trudel writes:
> Andrew Haley wrote:
> >
> > Err, *why* are you doing this weird thing, anyway? Why not pass the correct type?
>
> The same old story: I use a library which does it wrong... Someone has
> to test all these libraries out there ;-)
> The other reason that I always run into problems is that I develop with
> a Sun JDK and deploy with GCJ...
Each to their own. Anyway, I don't think gcj is buggy here, but I'd
happily accept a patch that masks off the low-order bits before
calling the native code.
Andrew.