JasonEric / openjdk-osx-build

Automatically exported from code.google.com/p/openjdk-osx-build
0 stars 0 forks source link

Toolkit returns text rather than symbols (e.g., "Meta", "Shift") for keyboard shortcut modifiers #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
---------------------------------------
For example:

1. java.awt.Toolkit.getDefaultToolkit().getProperty("AWT.meta", null)
OR
2. java.awt.InputEvent.getModifiersExText(java.awt.event.InputEvent.META_MASK)

What is the expected output? What do you see instead?
---------------------------------------
The expected output are the symbols for meta, shift, ctrl, etc., rather than 
the words "Meta", "Shift", "Ctrl". E.g., the two lines above should produce 
"⌘". (HTML: ⌘)

This works properly in Java 1.6.

What version of the product are you using? On what operating system?
---------------------------------------
Java 1.7.0_06-b24 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 
mixed mode

Please provide any additional information below.
---------------------------------------
My understanding is that these are defined in awt.properties

Original issue reported on code.google.com by jared...@gmail.com on 11 Sep 2012 at 3:27

GoogleCodeExporter commented 8 years ago
We cover here OpenJDK 7/8 community project, so if problem is related to Oracle 
Java 7, you should issue ticket in Oracle bug system

Original comment by henri.gomez on 19 Sep 2012 at 9:06