JNI bug?

Andrew Haley aph@redhat.com
Mon Jan 29 18:36:00 GMT 2007


Marco Trudel writes:
 > 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?
Almost certainly.
 > I only have 32bit computers here...
How very 20th Century. :-)
Andrew.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /