-
Bug
-
Resolution: Fixed
-
P4
-
8
-
b01
-
os_x
The test java/awt/KeyboardFocusmanager/ConsumeNextMnemonicKeyTypedTest/ConsumeNextMnemonicKeyTypedTest.java was updated in JDK-8063104, yet this fix cannot be backported to 8u because it should continue to use toolkit.realSync().
Yet in addition to that change,JDK-8063104 added support for macOS:
+ if (Platform.isOSX()) {
+ robot.keyPress(KeyEvent.VK_CONTROL);
+ }
robot.keyPress(KeyEvent.VK_ALT);
// other keyPress
robot.keyRelease(KeyEvent.VK_ALT);
+ if (Platform.isOSX()) {
+ robot.keyRelease(KeyEvent.VK_CONTROL);
+ }
This change should be applied and then the test can be removed from ProblemList.txt for macos.
Yet in addition to that change,
+ if (Platform.isOSX()) {
+ robot.keyPress(KeyEvent.VK_CONTROL);
+ }
robot.keyPress(KeyEvent.VK_ALT);
// other keyPress
robot.keyRelease(KeyEvent.VK_ALT);
+ if (Platform.isOSX()) {
+ robot.keyRelease(KeyEvent.VK_CONTROL);
+ }
This change should be applied and then the test can be removed from ProblemList.txt for macos.
- relates to
-
JDK-8063104 Change open awt regression tests to avoid sun.awt.SunToolkit.realSync, part 2
- Resolved