提交 eb558539 编写于 作者: N naoto

8222980: Upgrade IANA Language Subtag Registry to Version 2019-04-03

Reviewed-by: bpb, lancea

--HG--
extra : rebase_source : a2e4cca7d24f1ee9f803b76f36785d5bdef2d760
上级 0ee947d0
File-Date: 2018-11-30 File-Date: 2019-04-03
%% %%
Type: language Type: language
Subtag: aa Subtag: aa
...@@ -43008,6 +43008,7 @@ Subtag: lsg ...@@ -43008,6 +43008,7 @@ Subtag: lsg
Description: Lyons Sign Language Description: Lyons Sign Language
Added: 2009-07-29 Added: 2009-07-29
Deprecated: 2018-03-08 Deprecated: 2018-03-08
Preferred-Value: lsg
Prefix: sgn Prefix: sgn
%% %%
Type: extlang Type: extlang
...@@ -43406,6 +43407,7 @@ Subtag: rsi ...@@ -43406,6 +43407,7 @@ Subtag: rsi
Description: Rennellese Sign Language Description: Rennellese Sign Language
Added: 2009-07-29 Added: 2009-07-29
Deprecated: 2017-02-23 Deprecated: 2017-02-23
Preferred-Value: rsi
Prefix: sgn Prefix: sgn
%% %%
Type: extlang Type: extlang
...@@ -43760,6 +43762,7 @@ Subtag: yds ...@@ -43760,6 +43762,7 @@ Subtag: yds
Description: Yiddish Sign Language Description: Yiddish Sign Language
Added: 2009-07-29 Added: 2009-07-29
Deprecated: 2015-02-12 Deprecated: 2015-02-12
Preferred-Value: yds
Prefix: sgn Prefix: sgn
%% %%
Type: extlang Type: extlang
...@@ -46537,16 +46540,16 @@ Subtag: arevela ...@@ -46537,16 +46540,16 @@ Subtag: arevela
Description: Eastern Armenian Description: Eastern Armenian
Added: 2006-09-18 Added: 2006-09-18
Deprecated: 2018-03-24 Deprecated: 2018-03-24
Preferred-Value: hy
Prefix: hy Prefix: hy
Comments: Preferred tag is hy
%% %%
Type: variant Type: variant
Subtag: arevmda Subtag: arevmda
Description: Western Armenian Description: Western Armenian
Added: 2006-09-18 Added: 2006-09-18
Deprecated: 2018-03-24 Deprecated: 2018-03-24
Preferred-Value: hyw
Prefix: hy Prefix: hy
Comments: Preferred tag is hyw
%% %%
Type: variant Type: variant
Subtag: asante Subtag: asante
...@@ -46642,6 +46645,12 @@ Prefix: en ...@@ -46642,6 +46645,12 @@ Prefix: en
Comments: Jargon embedded in American English Comments: Jargon embedded in American English
%% %%
Type: variant Type: variant
Subtag: bornholm
Description: Bornholmsk
Added: 2019-03-27
Prefix: da
%%
Type: variant
Subtag: cisaup Subtag: cisaup
Description: Cisalpine Description: Cisalpine
Added: 2018-04-22 Added: 2018-04-22
......
/* /*
* Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2016, 2019, 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 @@ ...@@ -23,9 +23,9 @@
/* /*
* @test * @test
* @bug 8040211 8191404 8203872 * @bug 8040211 8191404 8203872 8222980
* @summary Checks the IANA language subtag registry data update * @summary Checks the IANA language subtag registry data update
* (LSR Revision: 2018-04-23) with Locale and Locale.LanguageRange * (LSR Revision: 2019-04-03) with Locale and Locale.LanguageRange
* class methods. * class methods.
* @run main Bug8040211 * @run main Bug8040211
*/ */
...@@ -115,7 +115,6 @@ public class Bug8040211 { ...@@ -115,7 +115,6 @@ public class Bug8040211 {
expected.add(new LanguageRange("taj", 0.9)); expected.add(new LanguageRange("taj", 0.9));
expected.add(new LanguageRange("tsf", 0.9)); expected.add(new LanguageRange("tsf", 0.9));
expected.add(new LanguageRange("ar-hyw", 0.8)); expected.add(new LanguageRange("ar-hyw", 0.8));
expected.add(new LanguageRange("ar-arevmda", 0.8));
expected.add(new LanguageRange("yug", 0.5)); expected.add(new LanguageRange("yug", 0.5));
expected.add(new LanguageRange("yuu", 0.5)); expected.add(new LanguageRange("yuu", 0.5));
expected.add(new LanguageRange("gfx", 0.4)); expected.add(new LanguageRange("gfx", 0.4));
...@@ -188,7 +187,7 @@ public class Bug8040211 { ...@@ -188,7 +187,7 @@ public class Bug8040211 {
List<Locale> tagList = generateLocales(tags); List<Locale> tagList = generateLocales(tags);
String actualLocales String actualLocales
= showLocales(Locale.filter(priorityList, tagList, mode)); = showLocales(Locale.filter(priorityList, tagList, mode));
String expectedLocales = "mtm-RU, ymt-RU, en-GB-oxendict, nts, pij, ar-arevela"; String expectedLocales = "mtm-RU, ymt-RU, en-GB-oxendict, nts, pij";
if (!expectedLocales.equals(actualLocales)) { if (!expectedLocales.equals(actualLocales)) {
error = true; error = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册