JDK-6786276 : Locale.getISOCountries() still contains country code "CS"
Type:Bug
Component:core-libs
Sub-Component:java.util:i18n
Affected Version:7
Priority:P4
Status:Resolved
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-12-17
Updated:2015-01-29
Resolved:2009-02-05
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
Despite the fact that CS(Serbia and Montenegro) country code was removed from ISO 3166 country list the result of Locale.getISOCountries() still contains it.
Comments
EVALUATION
The reason to remove "CS" is the fact that the specification for Locale.getISOCountries() says "Returns a list of all 2-letter country codes defined in ISO 3166.". The list of country names from ISO-3166 doesn't contain country code "CS".
19-12-2008
EVALUATION
We intentionally left the country code "CS" for the backword compatibility, on fixing the bug 6475525. If you know of any reason that justifies "CS" must be removed, please provide the info.