Skip to content

Commit 1c0b490

Browse files
committed
8256201: java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java failed
Reviewed-by: jdv
1 parent 3e70aac commit 1c0b490

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/jdk/java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public void paint(Graphics g) {
5555
}
5656
};
5757
try {
58+
frame.setUndecorated(true); // workaround JDK-8256257
5859
frame.setBackground(Color.MAGENTA);
5960
frame.setVisible(true);
6061
gd.setFullScreenWindow(frame);
@@ -99,4 +100,4 @@ private static void checkSize(int actual, int expected, String prop) {
99100
throw new RuntimeException(prop + " is wrong");
100101
}
101102
}
102-
}
103+
}

0 commit comments

Comments
 (0)