We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff6439 commit c2fde51Copy full SHA for c2fde51
test/jdk/java/awt/Toolkit/ScreenInsetsTest/ScreenInsetsTest.java
@@ -24,7 +24,7 @@
24
/*
25
* @test
26
* @key headful
27
- * @bug 8020443 6899304 4737732
+ * @bug 8020443 6899304 4737732 8357390
28
* @summary Tests that Toolkit.getScreenInsets() returns correct insets
29
* @library /test/lib
30
* @build jdk.test.lib.Platform
@@ -44,7 +44,7 @@
44
public class ScreenInsetsTest {
45
private static final int SIZE = 100;
46
// Allow a margin tolerance of 1 pixel due to scaling
47
- private static final int MARGIN_TOLERANCE = 1;
+ private static final int MARGIN_TOLERANCE = 2;
48
49
public static void main(String[] args) throws InterruptedException {
50
GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
0 commit comments