<i18n dev> Review Request for JDK-8166994: Improve sun.util.locale.LocaleMatcher

Nishit Jain nishit.jain at oracle.com
Mon Nov 7 07:51:28 UTC 2016


Please review the fix for JDK-8166994

Bug: https://bugs.openjdk.java.net/browse/JDK-8166994
Webrev: http://cr.openjdk.java.net/~nishjain/8166994/webrev.02/

Fix: Modified values of LocaleEquivalentMaps.multiEquivsMap is stored in 
a temp array which is then returned, so that it does not behave 
differently in second invocation. Changed String.replace* methods with 
String.replace() at places where it is dealing with a literal string not 
with a regular expression.

Nishit Jain

More information about the i18n-dev mailing list