mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-10 07:39:16 +00:00
ICU-9161 Excluded variant Cryl/Latn found in IBM Java 6 from the test case.
X-SVN-Rev: 31616
This commit is contained in:
parent
6bde113710
commit
f2f2d6d104
1 changed files with 2 additions and 1 deletions
|
@ -230,7 +230,8 @@ public class LocaleNameTest extends TestFmwk {
|
|||
String[] locVarSubtags = locVar.split("_");
|
||||
|
||||
for (String locSingleVar : locVarSubtags) {
|
||||
if (locSingleVar.equals(TestUtil.ICU_VARIANT)) {
|
||||
if (locSingleVar.equals(TestUtil.ICU_VARIANT)
|
||||
|| locSingleVar.equals("Cyrl") || locSingleVar.equals("Latn")) { // IBM Java 6 has locales with 'variant' Cryl/Latn
|
||||
continue;
|
||||
}
|
||||
Locale forLocaleSingleVar = new Locale(forLocale.getLanguage(), forLocale.getCountry(), locSingleVar);
|
||||
|
|
Loading…
Add table
Reference in a new issue