JDK-4159690 : DateFormatZoneData and LocaleElements define Hebrew using outdated locale id
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.text
  • Affected Version: 1.2.0
  • Priority: P5
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris_2.5.1
  • CPU: other
  • Submitted: 1998-07-22
  • Updated: 1998-08-11
  • Resolved: 1998-08-11
Related Reports
Relates :  
Description
The Hebrew locale id changed in 10/1095 from "iw" to "he".  JDK still has
old class names and file names in java/java/text/resources as:

DateFormatZoneData_iw
LocaleElements_iw

These should be changed to:

DateFormatZoneData_he
LocaleElements_he

For the updated ISO 639 language codes for language names, please see the URL:  http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt


Comments
SUGGESTED FIX Please change the file names (before the .java suffix) and class names to : LocaleElements_he DateFormatZoneData_he Modify internal contents accordingly.
11-06-2004

EVALUATION We're aware of the change in ISO 639 language codes, and we've had several bugs against us for this problem. The policy we've adopted for this issue is that the constructor on Locale will take either the old or the new ISO 639 codes and do the right thing. For compatibility with older programs, however, we've decided to stick with the old ISO 639 codes internally and in filenames. Although this position may grow less tenable over time, we feel that this was the least disruptive solution. richard.gillam@eng 1998-08-11
11-08-1998