Skip to content

Commit

Permalink
Disable JAWTTest.testWindowPeer for openjdk6 (filed issue #57)
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Mar 30, 2015
1 parent 41b5cc3 commit 142d464
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/org/bridj/JAWTTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,11 @@ public class JAWTTest {

@Test
public void testWindowPeer() throws Exception {
if (Platform.isMacOSX()) {
if (Platform.isMacOSX() ||
System.getProperty("java.version)").matches("1\\.6\\..*")) {
// Oracle Java and jawt: it's complicated.
// See http://forum.lwjgl.org/index.php?topic=4326.0
// OpenJDK 6 + Linux seem problematic too.
return;
}
assertEquals(6 * Pointer.SIZE, BridJ.sizeOf(JAWT_DrawingSurface.class));
Expand Down

0 comments on commit 142d464

Please sign in to comment.