8241082: Upgrade IANA Language Subtag Registry data to 03-16-2020 version
Reviewed-by: joehw
This commit is contained in:
parent
0c9f8e472f
commit
e5e24ad080
@ -1,4 +1,4 @@
|
|||||||
File-Date: 2019-09-16
|
File-Date: 2020-03-16
|
||||||
%%
|
%%
|
||||||
Type: language
|
Type: language
|
||||||
Subtag: aa
|
Subtag: aa
|
||||||
@ -47129,6 +47129,16 @@ Comments: Pamaka dialect of the "Busi Nenge Tongo" English-based
|
|||||||
Creole continuum in Eastern Suriname and Western French Guiana
|
Creole continuum in Eastern Suriname and Western French Guiana
|
||||||
%%
|
%%
|
||||||
Type: variant
|
Type: variant
|
||||||
|
Subtag: peano
|
||||||
|
Description: Latino Sine Flexione
|
||||||
|
Description: Interlingua de API
|
||||||
|
Description: Interlingua de Peano
|
||||||
|
Prefix: la
|
||||||
|
Comments: Peano’s Interlingua, created in 1903 by Giuseppe Peano as an
|
||||||
|
international auxiliary language
|
||||||
|
Added: 2020-03-12
|
||||||
|
%%
|
||||||
|
Type: variant
|
||||||
Subtag: petr1708
|
Subtag: petr1708
|
||||||
Description: Petrine orthography
|
Description: Petrine orthography
|
||||||
Added: 2010-10-10
|
Added: 2010-10-10
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2012, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -215,10 +215,7 @@ public class EquivMapsGenerator {
|
|||||||
+ " static final Map<String, String[]> multiEquivsMap;\n"
|
+ " static final Map<String, String[]> multiEquivsMap;\n"
|
||||||
+ " static final Map<String, String> regionVariantEquivMap;\n\n"
|
+ " static final Map<String, String> regionVariantEquivMap;\n\n"
|
||||||
+ " static {\n"
|
+ " static {\n"
|
||||||
+ " singleEquivMap = new HashMap<>();\n"
|
+ " singleEquivMap = new HashMap<>(";
|
||||||
+ " multiEquivsMap = new HashMap<>();\n"
|
|
||||||
+ " regionVariantEquivMap = new HashMap<>();\n\n"
|
|
||||||
+ " // This is an auto-generated file and should not be manually edited.\n";
|
|
||||||
|
|
||||||
private static final String footerText =
|
private static final String footerText =
|
||||||
" }\n\n"
|
" }\n\n"
|
||||||
@ -242,6 +239,12 @@ public class EquivMapsGenerator {
|
|||||||
Paths.get(fileName))) {
|
Paths.get(fileName))) {
|
||||||
writer.write(getOpenJDKCopyright());
|
writer.write(getOpenJDKCopyright());
|
||||||
writer.write(headerText
|
writer.write(headerText
|
||||||
|
+ (int)(sortedLanguageMap1.size() / 0.75f + 1) + ");\n"
|
||||||
|
+ " multiEquivsMap = new HashMap<>("
|
||||||
|
+ (int)(sortedLanguageMap2.size() / 0.75f + 1) + ");\n"
|
||||||
|
+ " regionVariantEquivMap = new HashMap<>("
|
||||||
|
+ (int)(sortedRegionVariantMap.size() / 0.75f + 1) + ");\n\n"
|
||||||
|
+ " // This is an auto-generated file and should not be manually edited.\n"
|
||||||
+ " // LSR Revision: " + LSRrevisionDate);
|
+ " // LSR Revision: " + LSRrevisionDate);
|
||||||
writer.newLine();
|
writer.newLine();
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -23,9 +23,9 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* @test
|
* @test
|
||||||
* @bug 8040211 8191404 8203872 8222980 8225435
|
* @bug 8040211 8191404 8203872 8222980 8225435 8241082
|
||||||
* @summary Checks the IANA language subtag registry data update
|
* @summary Checks the IANA language subtag registry data update
|
||||||
* (LSR Revision: 2019-09-16) with Locale and Locale.LanguageRange
|
* (LSR Revision: 2020-03-16) with Locale and Locale.LanguageRange
|
||||||
* class methods.
|
* class methods.
|
||||||
* @run main Bug8040211
|
* @run main Bug8040211
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user