JDK-8067441 : Some tests fails with error: cannot find symbol getSystemMnemonicKeyCodes()
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-12-15
  • Updated: 2022-07-23
  • Resolved: 2014-12-15
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 8 JDK 9 Other
8u351Fixed 9 b45Fixed openjdk8u282Fixed
Related Reports
Duplicate :  
Relates :  
Description
Run the test test\javax\swing\JMenu\4515762\bug4515762.java

jdk9-modules\jdk\test\javax\swing\regtesthelpers\Util.java:153: error: cannot find symbol
        ArrayList<Integer> mnemonicKeyCodes = getSystemMnemonicKeyCodes();
                                              ^
  symbol:   method getSystemMnemonicKeyCodes()
  location: class Util
1 error
Comments
Fix Request (8u). Minimal risk, fixes existing test. 4515762 still fails on 8u, but passes on 11u. With the addition of JDK-8130772, 4515762 passes on 8u. Patch is identical to http://icedtea.classpath.org//hg/icedtea8-forest/jdk?cmd=changeset;node=92392d6ed985.
09-11-2020

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/549a6b894938 User: lana Date: 2014-12-30 21:55:54 +0000
30-12-2014

URL: http://hg.openjdk.java.net/jdk9/client/jdk/rev/549a6b894938 User: alexsch Date: 2014-12-15 16:22:02 +0000
15-12-2014

The getSystemMnemonicKeyCodes() has been removed from the Util.java class during the fix JDK-8063104
15-12-2014