Skip to content
Permalink
Browse files
8197811: Test java/awt/Choice/PopupPosTest/PopupPosTest.java fails on…
… Windows

Reviewed-by: mdoerr
Backport-of: d1c8c9e
  • Loading branch information
GoeLin committed Oct 27, 2021
1 parent 243fd30 commit 352672f5cfff78aeeaae64122723ce5d3db54665
Showing 2 changed files with 1 addition and 9 deletions.
@@ -245,7 +245,6 @@ java/awt/print/PrinterJob/PSQuestionMark.java 7003378 generic-all
java/awt/print/PrinterJob/GlyphPositions.java 7003378 generic-all
java/awt/print/PrinterJob/Margins.java 8196301 windows-all,macosx-all
java/awt/PrintJob/PrinterException.java 8196301 windows-all,macosx-all
java/awt/Choice/PopupPosTest/PopupPosTest.java 8192930 windows-all
java/awt/Choice/ChoiceMouseWheelTest/ChoiceMouseWheelTest.java 7100044 macosx-all
java/awt/Component/GetScreenLocTest/GetScreenLocTest.java 4753654 generic-all
java/awt/Component/SetEnabledPerformance/SetEnabledPerformance.java 8165863 macosx-all
@@ -27,24 +27,17 @@
@bug 5044150
@summary Tests that pupup doesn't popdown if no space to display under
@author andrei.dmitriev area=awt.choice
@library ../../../../lib/testlibrary
@build jdk.testlibrary.OSInfo
@requires (os.family == "linux")
@run main PopupPosTest
*/

import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;

import jdk.testlibrary.OSInfo;

public class PopupPosTest
{
public static void main(final String[] args) {
if(OSInfo.getOSType().equals(OSInfo.OSType.MACOSX)) {
// On OS X, popup isn't under the mouse
return;
}
Frame frame = new TestFrame();
}
}

1 comment on commit 352672f

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 352672f Oct 27, 2021

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.