Skip to content

Commit 0ea48d9

Browse files
author
Alexander Zvegintsev
committed
8194129: Regression automated Test '/open/test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java' fails
Reviewed-by: serb, psadhukhan
1 parent 4b5c664 commit 0ea48d9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/jdk/ProblemList.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java 8196440 linux-all
234234
java/awt/Window/ShapedAndTranslucentWindows/SetShapeAndClick.java 8197936 macosx-all
235235
java/awt/Window/ShapedAndTranslucentWindows/SetShapeDynamicallyAndClick.java 8013450 macosx-all
236236
java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucentWindowClick.java 8013450 macosx-all
237-
java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java 8221901 linux-all
238237
java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java 8222323 windows-all
239238
java/awt/Window/ShapedAndTranslucentWindows/FocusAWTTest.java 8222328 windows-all,linux-all,macosx-all
240239
java/awt/Window/ShapedAndTranslucentWindows/Shaped.java 8222328 windows-all,linux-all,macosx-all

test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2010, 2021, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -125,6 +125,9 @@ public void doTest() throws Exception {
125125

126126
Point ls = window.getLocationOnScreen();
127127
clicked = 0;
128+
129+
robot.waitForIdle();
130+
128131
checkClick(ls.x + window.getWidth() / 2, ls.y - 5, 0);
129132

130133
robot.waitForIdle(2000);

0 commit comments

Comments
 (0)