Skip to content

Commit 5d4e193

Browse files
author
Timothy Wall
committed
update linux-x86-64 natives
1 parent 6211aac commit 5d4e193

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/native/linux-x86-64.jar

445 Bytes
Binary file not shown.

test/com/sun/jna/CallbacksTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ public class CallbacksTest extends TestCase implements Paths {
4343
// not attached, and the JVM never unmaps the defunct native thread. In
4444
// order to avoid this situation causing tests to time out, we need to
4545
// explicitly detach the native thread after our Java code is done with it.
46-
private static final boolean THREAD_DETACH_BUG = Platform.isMac();
46+
// Also reproducible on Ubuntu 6 (x86-64), Java 6
47+
private static final boolean THREAD_DETACH_BUG = Platform.isMac() || (Platform.isLinux() && Platform.is64Bit());
4748

4849
private static final String UNICODE = "[\u0444]";
4950

0 commit comments

Comments
 (0)