Skip to content

Commit

Permalink
8197811: Test java/awt/Choice/PopupPosTest/PopupPosTest.java fails on…
Browse files Browse the repository at this point in the history
… Windows

Reviewed-by: psadhukhan
  • Loading branch information
trebari committed Apr 19, 2021
1 parent 7d01c98 commit d1c8c9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion test/jdk/ProblemList.txt
Expand Up @@ -271,7 +271,6 @@ java/awt/Graphics2D/DrawString/DrawRotatedStringUsingRotatedFont.java 8197796 ge
java/awt/TextArea/TextAreaScrolling/TextAreaScrolling.java 8196300 windows-all
java/awt/print/PrinterJob/PSQuestionMark.java 7003378 generic-all
java/awt/print/PrinterJob/GlyphPositions.java 7003378 generic-all
java/awt/Choice/PopupPosTest/PopupPosTest.java 8197811 windows-all
java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java 7100044 macosx-all,linux-all
java/awt/Component/GetScreenLocTest/GetScreenLocTest.java 4753654 generic-all
java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java 8165863 macosx-all
Expand Down
9 changes: 1 addition & 8 deletions test/jdk/java/awt/Choice/PopupPosTest/PopupPosTest.java
Expand Up @@ -26,23 +26,16 @@
@key headful
@bug 5044150
@summary Tests that pupup doesn't popdown if no space to display under
@library /test/lib
@build jdk.test.lib.Platform
@requires (os.family == "linux")
@run main PopupPosTest
*/

import java.awt.*;
import java.awt.event.*;

import jdk.test.lib.Platform;

public class PopupPosTest {

public static void main(final String[] args) {
if (Platform.isOSX()) {
// On OS X, popup isn't under the mouse
return;
}
Frame frame = new TestFrame();
}
}
Expand Down

1 comment on commit d1c8c9e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.