8197811: Test java/awt/Choice/PopupPosTest/PopupPosTest.java fails on Windows
Reviewed-by: psadhukhan
This commit is contained in:
parent
7d01c988cf
commit
d1c8c9eabb
test/jdk
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user