Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
All
Description
The following test succeeds on RI but fails on Harmony.
----------------------------
import java.util.Locale;
class LocaleDisplayLang {
public static void main(String[] args) {
Locale p = new Locale("la", "NZ");
if(p.getDisplayLanguage().equals("Latin"))
Locale.setDefault(p);
if(p.getDisplayLanguage().equals("Latin")) { System.out.println("PASSED"); }
else
{ System.out.println("FAILED: Latin != " + p.getDisplayLanguage()); } }
}
----------------------------
RI prints
PASSED
PASSED
but Harmony prints
PASSED
FAILED
Attachments
Issue Links
- is part of
-
HARMONY-5406 [classlib]CLDR data in harmony is different from that in RI
- Open