Approved. 

On May 16, 2012, at 3:28 PM, Alexander Scherbatiy wrote:

> 
> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7169226
> webrev: http://cr.openjdk.java.net/~alexsch/7169226/webrev7.00/
> review: http://mail.openjdk.java.net/pipermail/swing-dev/2012-May/002054.html
> 
> JDK 8 changeset: http://hg.openjdk.java.net/jdk8/awt/jdk/rev/3c819d638e36
> 
> This is a request from the NLS team to backport the issue 7169226 to JDK 7.
> The original JDK 8 patch is rejected when it is applied to JDK 8 because the 
> JDK 8 windows and motif properties contain mnemonics however the JDK 7 
> version not.
> 
> The properties from the following folders are updated:
>   src/share/classes/com/sun/java/swing/plaf/windows/resources/
>    src/share/classes/com/sun/java/swing/plaf/motif/resources
> 
> According to the request from the NLS team the properties, mnemonics and 
> mnemonic indexes are unified from the
>   xxxText, xxxMnemonic and xxxMnemonicIndex to xxx.titleAndMnemonic 
> (different patterns with the different suffixes are checked).
> 
> The fix is tested by the test that loads all old properties and check that 
> UIManager.get() methods returns the same values as before:
> http://cr.openjdk.java.net/~alexsch/7093156/test/02/SwingResourcesTest.java
> 
> Thanks,
> Alexandr.
> 
> 

Reply via email to