From 3ef6b8c046fed85d1c9cf60396a6958aa71c02e0 Mon Sep 17 00:00:00 2001 From: Atsushi Eno Date: Sun, 28 Jun 2015 07:31:24 +0900 Subject: [PATCH] Disable JAWTTest on Linux too. From the source comment it seems that OSX and OpenJDK 1.6 are known to be problematic, but I also get the failure on OpenJDK 1.7. Assuming that it doesn't just work on Linux (or it could be working on Oracle JDK but no idea how to detect and fix that). So far disabling this. --- src/test/java/org/bridj/JAWTTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/bridj/JAWTTest.java b/src/test/java/org/bridj/JAWTTest.java index 14d3c341..e7d9c85b 100644 --- a/src/test/java/org/bridj/JAWTTest.java +++ b/src/test/java/org/bridj/JAWTTest.java @@ -46,7 +46,7 @@ public class JAWTTest { @Test public void testWindowPeer() throws Exception { - if (Platform.isMacOSX() || + if (Platform.isMacOSX() || Platform.isLinux() || System.getProperty("java.version").matches("1\\.6\\..*")) { // Oracle Java and jawt: it's complicated. // See http://forum.lwjgl.org/index.php?topic=4326.0