Looks good to me.

Naoto

On 7/4/17 12:11 AM, Nishit Jain wrote:
Hi,

Please review the fix for JDK-8032842 and 8175539

Bug: https://bugs.openjdk.java.net/browse/JDK-8032842, https://bugs.openjdk.java.net/browse/JDK-8175539
Webrev: http://cr.openjdk.java.net/~nishjain/8032842_8175539/webrev.05/
CSR: https://bugs.openjdk.java.net/browse/JDK-8181073

Issue: Locale.filterTags()/lookupTag() methods were converting the case of input language tags and returning the lowercased language tags. Since the special range "*" matches every tag, all the input tags were directly returned without any additional processing, which might also contain duplicates.

Fix: Though matching process is done ignoring the case considerations, but the matched tag is returned by preserving its case as in the given input language tag(s). For language range "*", additional processing is added to remove the duplicate matching tags from the list of output tags.


Regards,
Nishit Jain

Reply via email to