-
Bug
-
Resolution: Fixed
-
P4
-
1.1.4
-
1.1.6
-
other
-
generic
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2017298 | 1.2.0 | Richard Gillam | P4 | Resolved | Fixed | 1.2beta4 |
java.util.local.getDisplayName, getDisplyLanguage, getDisplayCountry, getDisplayVariant do not return the two letter codes when they can not find a full string. When they can not find a full string they return a null string.
The problem appears to be that an exception is expected from matchString when it can not find the full string, the exception should then be caught and the default two letter code returned. matchString does not throw an exception.
The problem appears to be that an exception is expected from matchString when it can not find the full string, the exception should then be caught and the default two letter code returned. matchString does not throw an exception.
- backported by
-
JDK-2017298 java.util.Locale.getDispalyName does not return default two letter codes.
- Resolved