<i18n dev> [10] RFR JDK-8177472: Remove hard-coded IANA Subtag Registry map in LocaleEquivalentMap.java

Roger Riggs Roger.Riggs at Oracle.com
Tue Jul 25 15:58:30 UTC 2017


Hi Nishit,

Can the hardcoded copyright be made more automatic?

I see the make/src/classes/build/tools/cldrconverter has functions to 
create/convert copyrights.
Can that be leveraged to generate the needed copyright and reduce some 
potential maintenance
of the copyright date and or contents?

Can the latest copyright date be taken from the File-Date field of the 
subtag-registry?

Thanks, Roger

On 7/20/2017 1:33 AM, Nishit Jain wrote:
> Hi,
>
> Please review the fix for JDK-8177472
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8177472
> Webrev: http://cr.openjdk.java.net/~nishjain/8177472/webrev.05/
>
> Issue:The existing process of updating the LSR data requires manual 
> execution of EquivMapsGenerator.java for generation of the updated maps.
> Fix:The execution of EquivMapsGenerator.javafor generation of maps is 
> included in the JDK build process. After this change updation of LSR 
> data will mostly require replacement of old 
> language-subtag-registry.txt file with the new one and changing the 
> copyright year in EquivMapsGenerator.java (if required) for the 
> generated maps file.
>
> Regards,
> Nishit Jain



More information about the i18n-dev mailing list