United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6498742 Unnecessary calendar data files for Montenegro/Serbia locales & some incorrect data for sr_BA
JDK-6498742 : Unnecessary calendar data files for Montenegro/Serbia locales & some incorrect data for sr_BA

Details
Type:
Bug
Submit Date:
2006-11-29
Status:
Closed
Updated Date:
2011-03-07
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
globalization
OS:
solaris_10
Sub-Component:
translation
CPU:
other
Priority:
P5
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:

Sub Tasks

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
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
                                     
2006-11-29
EVALUATION

There are more cases like this.
See the "Suggested Fix" for the complete list of unnecessary files.
                                     
2006-11-29
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)
                                     
2006-11-30



Hardware and Software, Engineered to Work Together