JDK-6498742 : Unnecessary calendar data files for Montenegro/Serbia locales & some incorrect data for sr_BA
  • Type: Bug
  • Component: globalization
  • Sub-Component: translation
  • Affected Version: 7
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: other
  • Submitted: 2006-11-29
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
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.

To download the current JDK release, click here.
JDK 6 JDK 7
6u2Fixed 7 b10Fixed
Description
When Montenegro/Serbia locales are added, CalendarData_sr.properties,CalendarData_sr_CS.properties, CalendarData_sr_BA.properties were added with the same data while just having CalendarData_sr.properties would be sufficient. 

Remove the unnecessary files, CalendarData_sr_CS.properties and CalendarData_sr_BA.properties

Also - ConvertLocaleData Tool's bundlelist.xml needs to be updated to include these recent new additional locales.

Comments
SUGGESTED FIX Remove the following files: (Note - only the newly introduced locales are examined) CalendarData_sr_BA.properties (falls back to CalendarData_sr.properties) CalendarData_sr_CS.properties (falls back to CalendarData_sr.properties) CalendarData_mt_MT.properties (falls back to CalendarData_mt.properties)
30-11-2006

EVALUATION There are more cases like this. See the "Suggested Fix" for the complete list of unnecessary files.
29-11-2006

EVALUATION CalendarData_sr_BA.properties and CalendarData_sr_CS.properties are not needed since they fallback to CalendarData_sr.properties sr* locales are missing from bundlelist.xml in the ConvertLocaleData Tool
29-11-2006