Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8194129: Regression automated Test '/open/test/jdk/java/awt/Window/Sh…
…apedAndTranslucentWindows/TranslucentChoice.java' fails

Reviewed-by: serb, psadhukhan
  • Loading branch information
Alexander Zvegintsev committed Mar 12, 2021
1 parent 4b5c664 commit 0ea48d9d65e9c56e6646f799e49337cfd9df676b
Showing with 4 additions and 2 deletions.
  1. +0 −1 test/jdk/ProblemList.txt
  2. +4 −1 test/jdk/java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java
@@ -234,7 +234,6 @@ java/awt/TrayIcon/PopupMenuLeakTest/PopupMenuLeakTest.java 8196440 linux-all
java/awt/Window/ShapedAndTranslucentWindows/SetShapeAndClick.java 8197936 macosx-all
java/awt/Window/ShapedAndTranslucentWindows/SetShapeDynamicallyAndClick.java 8013450 macosx-all
java/awt/Window/ShapedAndTranslucentWindows/ShapedTranslucentWindowClick.java 8013450 macosx-all
java/awt/Window/ShapedAndTranslucentWindows/TranslucentChoice.java 8221901 linux-all
java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java 8222323 windows-all
java/awt/Window/ShapedAndTranslucentWindows/FocusAWTTest.java 8222328 windows-all,linux-all,macosx-all
java/awt/Window/ShapedAndTranslucentWindows/Shaped.java 8222328 windows-all,linux-all,macosx-all
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -125,6 +125,9 @@ public void doTest() throws Exception {

Point ls = window.getLocationOnScreen();
clicked = 0;

robot.waitForIdle();

checkClick(ls.x + window.getWidth() / 2, ls.y - 5, 0);

robot.waitForIdle(2000);

0 comments on commit 0ea48d9

Please sign in to comment.