8042381: Test javax/swing/JRootPane/4670486/bug4670486.java fails with Action has not been received
Reviewed-by: azvegint, kizune
This commit is contained in:
parent
0f81d8fcc3
commit
1b71621008
test/jdk
@ -719,7 +719,6 @@ javax/swing/PopupFactory/6276087/NonOpaquePopupMenuTest.java 8065099,8208565 mac
|
||||
javax/swing/dnd/8139050/NativeErrorsInTableDnD.java 8202765 macosx-all,linux-all
|
||||
javax/swing/Popup/TaskbarPositionTest.java 8065097 macosx-all,linux-all
|
||||
javax/swing/JEditorPane/6917744/bug6917744.java 8213124 macosx-all
|
||||
javax/swing/JRootPane/4670486/bug4670486.java 8042381 macosx-all
|
||||
javax/swing/JMenuItem/ActionListenerCalledTwice/ActionListenerCalledTwiceTest.java 8273573 macosx-all
|
||||
|
||||
# Several tests which fail on some hidpi systems/macosx12-aarch64 system
|
||||
|
@ -104,7 +104,7 @@ public class bug4670486 {
|
||||
public static void main(String[] args) throws Throwable {
|
||||
try {
|
||||
Robot robot = new Robot();
|
||||
robot.setAutoDelay(250);
|
||||
robot.setAutoDelay(100);
|
||||
|
||||
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
|
||||
|
||||
@ -116,12 +116,14 @@ public class bug4670486 {
|
||||
frame.setContentPane(createPanel(frame));
|
||||
frame.setJMenuBar(createMenuBar());
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
frame.setLocationRelativeTo(null);
|
||||
frame.pack();
|
||||
frame.setVisible(true);
|
||||
}
|
||||
});
|
||||
|
||||
robot.waitForIdle();
|
||||
robot.delay(1000);
|
||||
|
||||
// Change the default button to
|
||||
// force a call to BasicRootPaneUI.updateDefaultButtonBindings()
|
||||
|
Loading…
x
Reference in New Issue
Block a user