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 bug?


Andrew Haley wrote:
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.

Just kicked on my Linux box and tried it. Fails with a static and shared GCJ... So, the old 32bit <-> 64bit story? I only have 32bit computers here...



Marco



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