JDK-8158362 : [macosx] Regression: at least java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-06-01
  • Updated: 2019-02-01
  • Resolved: 2019-02-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
Run the test java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java on OS X with JDK9 b120. It fails consistently with "Actions not performed".

Note that it fails also with b119 but pass consistently with b111, so regression is not in b120.
I also built and tried a current state of JDK9/client repository on Jun 1-st but it still failed.

Test pass with b120 on Linux.
Comments
The reason for failure was the modifier value calculation was wrong. Added fix to correct it. Webrev link: http://cr.openjdk.java.net/~mhalder/8156460/webrev.01/
07-07-2016

Reproduced on OS X 10.10.5 with java version java version "9-internal" Java(TM) SE Runtime Environment (build 9-internal+0-2016-06-03-165214.mahalder.client) Java HotSpot(TM) 64-Bit Server VM (build 9-internal+0-2016-06-03-165214.mahalder.client, mixed mode)
03-06-2016

RULE "java/awt/event/KeyEvent/AltCharAcceleratorTest/AltCharAcceleratorTest.java" Exception java.lang.RuntimeException: Actions not performed
01-06-2016