JDK-4370344 : Container bug for issues in: 4267620/4256581
Type:Bug
Component:core-libs
Sub-Component:java.util:i18n
Affected Version:1.3.0
Priority:P4
Status:Closed
Resolution:Fixed
OS:solaris_8
CPU:sparc
Submitted:2000-09-12
Updated:2000-09-12
Resolved:2000-09-12
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.
Tacking bug for Linux/Solaris putbacks for issues relating to
bug-ids: 4267620/4256581 and their implementation under 1.3.0.
Comments
CONVERTED DATA
BugTraq+ Release Management Values
COMMIT TO FIX:
generic
FIXED IN:
1.3.1-fcs
INTEGRATED IN:
1.3
14-06-2004
EVALUATION
Fixed to ensure no regressions of behavior between 1.2.2 and 1.3.
11-06-2004
WORK AROUND
None
11-06-2004
SUGGESTED FIX
"CEDT" /*Tirana*/},
// sr
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Paris*/},
// sv
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Stockholm*/},
// tr
//{"EET", "Eastern European Standard Time", "EEST",
// "Eastern European Daylight Time", "EEDT" /*Ankara*/},
// uk
//{"EET", "Eastern European Standard Time", "EEST",
// "Eastern European Daylight Time", "EEDT" /*Kiev*/},
// zh
{"CTT", new String[] {"CTT", "China Standard Time", "CST",
"China Standard Time", "CDT" /*Peking*/}},
{"Asia/Shanghai", new String[] {"Asia/Shanghai", "China Standard Time", "CST",
"China Standard Time", "CDT" /*Peking*/}},
// zh_TW
//{"CTT", "Taiwan Standard Time", "TST",
// "Taiwan Standard Time", "TST" /*Taipei*/},
{"localPatternChars", "GyMdkHmsSEDFwWahKz"},
};
}
}
11-06-2004
SUGGESTED FIX
*** /local1/kestrel/522788-522790/webrev/build/share/minclude/java_text.jmk- Thu Jun 22 06:07:35 2000
--- java_text.jmk Tue Jun 20 16:47:27 2000
*** 48,56 ****
--- 48,57 ----
$(TARGDIR)java/text/Utility.java $(TARGDIR)java/text/WordBreakData.java $(TARGDIR)java/text/WordBreakTable.java $(TARGDIR)java/text/resources/DateFormatZoneData.java $(TARGDIR)java/text/resources/DateFormatZoneData_en.java + $(TARGDIR)java/text/resources/DateFormatZoneData_en_US.java $(TARGDIR)java/text/resources/LocaleData.java $(TARGDIR)java/text/resources/LocaleElements.java $(TARGDIR)java/text/resources/LocaleElements_en.java $(TARGDIR)java/text/resources/LocaleElements_en_US.java
------- And: src/share/classes/java/text/resources/DateFormatZoneData_en_US.java
/*
* @(#)DateFormatZoneData_en_US.java 1.13 00/01/19
*
* Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the proprietary information of Sun Microsystems, Inc.
* Use is subject to license terms.
*
*/
/*
* (C) Copyright Taligent, Inc. 1996, 1997 - All Rights Reserved
* (C) Copyright IBM Corp. 1996 - 1998 - All Rights Reserved
*
* The original version of this source code and documentation
* is copyrighted and owned by Taligent, Inc., a wholly-owned
* subsidiary of IBM. These materials are provided under terms
* of a License Agreement between Taligent and Sun. This technology
* is protected by multiple US and International patents.
*
* This notice and attribution to Taligent may not be removed.
* Taligent is a registered trademark of Taligent, Inc.
*
*/
package java.text.resources;
/**
* Supplement package private date-time formatting zone data for DateFormat.
* DateFormatData used in DateFormat will be initialized by loading the data
* from LocaleElements and DateFormatZoneData resources. The zone data are
* represented with the following form:
* {ID, new String[] {ID, long zone string, short zone string, long daylight
* string, short daylight string, representative city of zone}}, where ID is
* NOT localized, but is used to look up the localized timezone data
* internally. Localizers can localize any zone strings except
* for the ID of the timezone.
* Also, localizer should not touch "localPatternChars" entry.
*
* @see Format
* @see DateFormatData
* @see LocaleElements
* @see SimpleDateFormat
* @see TimeZone
* @version 1.13, 01/19/00
* @author Chen-Lieh Huang
* @author Alan Liu
*/
// US DateFormatZoneData
//
public final class DateFormatZoneData_en_US extends DateFormatZoneData
{
public Object[][] getContents() {
return new Object[][] {
// Zones should have unique names and abbreviations within this locale.
// Names and abbreviations may be identical if the corresponding zones
// really are identical. E.g.: America/Phoenix and America/Denver both
// use MST; these zones differ only in that America/Denver uses MDT as
// well.
//
// We list both short and long IDs. Short IDs come first so that they
// are chosen preferentially during parsing of zone names.
//
// ar
{"Africa/Cairo", new String[] {"Africa/Cairo", "Egypt Standard Time", "EET",
"Egypt Daylight Time", "EEST" /*Cairo*/}},
{"Africa/Tripoli", new String[] {"Africa/Tripoli", "Eastern European Time", "EET",
"Eastern European Time", "EET" /*Tripoli*/}},
{"Europe/Moscow", new String[] {"Europe/Moscow", "Moscow Standard Time", "MSK",
"Moscow Daylight Time", "MSD" /*Moscow*/}},
{"Europe/Lisbon" , new String[] {"Europe/Lisbon", "West European Time", "WET",
"West European Summer Time", "WEST" /*Lisbon*/}},
// be
//{"Europe/Minsk", "Eastern European Standard Time", "EET",
// "Eastern European Daylight Time", "EEST" /*Minsk*/}
// bg
//{"Europe/Bucharest", "Eastern European Standard Time", "EET",
// "Eastern European Daylight Time", "EEST" /*Sofia*/}
// ca
//{"Europe/Paris", "Central European Standard Time", "CET",
// "Central European Daylight Time", "CEST" /*Madrid*/}
// cs
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Prague*/},
// da
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Copenhagen*/},
// de
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Berlin*/},
// de_AT
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Vienna*/},
// de_CH
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Zurich*/},
// el
{"Europe/Istanbul", new String[] {"Europe/Istanbul", "Eastern European Standard Time", "EET",
"Eastern European Summer Time", "EEST" /*Athens*/}},
// en
{"PST", new String[] {"PST" /*--America/Los_Angeles--*/, "Pacific Standard Time", "PST",
"Pacific Daylight Time", "PDT" /*San Francisco*/}},
{"America/Los_Angeles", new String[] {"America/Los_Angeles", "Pacific Standard Time", "PST",
"Pacific Daylight Time", "PDT" /*San Francisco*/}},
{"MST", new String[] {"MST" /*--America/Denver--*/, "Mountain Standard Time", "MST",
"Mountain Daylight Time", "MDT" /*Denver*/}},
{"America/Denver", new String[] {"America/Denver", "Mountain Standard Time", "MST",
"Mountain Daylight Time", "MDT" /*Denver*/}},
{"PNT", new String[] {"PNT" /*--America/Phoenix--*/, "Mountain Standard Time", "MST",
"Mountain Standard Time", "MST" /*Phoenix*/}},
{"America/Phoenix", new String[] {"America/Phoenix", "Mountain Standard Time", "MST",
"Mountain Standard Time", "MST" /*Phoenix*/}},
{"CST", new String[] {"CST" /*--America/Chicago--*/, "Central Standard Time", "CST",
"Central Daylight Time", "CDT" /*Chicago*/}},
{"America/Chicago", new String[] {"America/Chicago", "Central Standard Time", "CST",
"Central Daylight Time", "CDT" /*Chicago*/}},
{"EST", new String[] {"EST" /*--America/New_York--*/, "Eastern Standard Time", "EST",
"Eastern Daylight Time", "EDT" /*New York*/}},
{"America/New_York", new String[] {"America/New_York", "Eastern Standard Time", "EST",
"Eastern Daylight Time", "EDT" /*New York*/}},
{"America/Montreal", new String[] {"America/Montreal", "Eastern Standard Time", "EST",
"Eastern Standard Time", "EST" /*Montreal*/}},
{"IET", new String[] {"IET" /*--America/Indianapolis--*/, "Eastern Standard Time", "EST",
"Eastern Standard Time", "EST" /*Indianapolis*/}},
{"America/Indianapolis", new String[] {"America/Indianapolis", "Eastern Standard Time", "EST",
"Eastern Standard Time", "EST" /*Indianapolis*/}},
{"HST", new String[] {"HST" /*--Pacific/Honolulu--*/, "Hawaii Standard Time", "HST",
"Hawaii Standard Time", "HST" /*Honolulu*/}},
{"Pacific/Honolulu", new String[] {"Pacific/Honolulu", "Hawaii Standard Time", "HST",
"Hawaii Standard Time", "HST" /*Honolulu*/}},
{"AST", new String[] {"AST" /*--America/Anchorage--*/, "Alaska Standard Time", "AKST",
"Alaska Daylight Time", "AKDT" /*Anchorage*/}},
{"America/Anchorage", new String[] {"America/Anchorage", "Alaska Standard Time", "AKST",
"Alaska Daylight Time", "AKDT" /*Anchorage*/}},
{"America/Manaus", new String[] {"America/Manaus", "Amazon Standard Time", "AMT",
"Amazon Daylight Time", "AMT" /*Manaus*/}},
// en_CA
{"America/Halifax", new String[] {"America/Halifax", "Atlantic Standard Time", "AST",
"Atlantic Daylight Time", "ADT" /*Halifax*/}},
{"CNT", new String[] {"CNT" /*--America/St_Johns--*/, "Newfoundland Standard Time",
"NST", "Newfoundland Daylight Time", "NDT" /*St. John's*/}},
{"America/St_Johns", new String[] {"America/St_Johns", "Newfoundland Standard Time",
"NST", "Newfoundland Daylight Time", "NDT" /*St. John's*/}},
// es
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Madrid*/},
// et
//{"EET", "Eastern European Standard Time", "EEST",
// "Eastern European Daylight Time", "EEDT" /*Tallinn*/},
// fi
//{"EET", "Eastern European Standard Time", "EEST",
// "Eastern European Daylight Time", "EEDT" /*Helsinki*/},
{"EET", new String[] {"EET", "Eastern European Time", "EET",
"Eastern European Summer Time", "EEST" /*Helsinki*/}},
{"Europe/Helsinki", new String[] {"Europe/Helsinki", "Eastern European Time", "EET",
"Eastern European Summer Time", "EEST" /*Helsinki*/}},
// fr
{"ECT", new String[] {"ECT" /*--Europe/Paris--*/, "Central European Standard Time",
"CET", "Central European Daylight Time", "CEST" /*Paris*/}},
{"Europe/Paris", new String[] {"Europe/Paris", "Central European Standard Time", "CET",
"Central European Summer Time", "CEST" /*Paris*/}},
{"Europe/Berlin", new String[] {"Europe/Berlin", "Central European Time", "CET",
"Central European Summer Time", "CEST" /*Berlin*/}},
// fr_BE
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Brussels*/},
// fr_CA
// fr_CH
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Geneva*/},
// hr
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Zagreb*/},
// hu
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Budapest*/},
// is
{"WET", new String[] {"WET", "Western European Time", "WET",
"Western European Summer Time", "WEST"}},
{"GMT", new String[] {"GMT", "Greenwich Mean Time", "GMT",
"Greenwich Mean Time", "GMT" /*Greenwich*/}},
{"Europe/London", new String[] {"Europe/London", "Greenwich Mean Time", "GMT",
"British Summer Time", "BST" /*London*/}},
{"Africa/Casablanca", new String[] {"Africa/Casablanca", "Greenwich Mean Time", "GMT",
"Greenwich Mean Time", "GMT" /*Reykjavik*/}},
// it
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Rome*/},
// it_CH
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Zurich*/},
// iw
{"IST", new String[] {"IST", "Israel Standard Time", "IST",
"Israel Daylight Time", "IDT" /*Tel Aviv*/}},
{"Asia/Jerusalem", new String[] {"Asia/Jerusalem", "Israel Standard Time", "IST",
"Israel Daylight Time", "IDT" /*Tel Aviv*/}},
{"Asia/Tehran", new String[] {"Asia/Tehran", "Iran Standard Time", "IRT",
"Iran Summer Time", "IRST" /*Tehran*/}},
// ja
{"JST", new String[] {"JST" /*--Asia/Tokyo--*/, "Japan Standard Time",
"JST", "Japan Standard Time", "JST" /*Tokyo*/}},
{"Asia/Tokyo", new String[] {"Asia/Tokyo", "Japan Standard Time", "JST",
"Japan Standard Time", "JST" /*Tokyo*/}},
{"Australia/Darwin", new String[] {"Australia/Darwin",
"Central Standard Time (Northern Territory)", "CST",
"Central Standard Time (Northern Territory)", "CST"}},
{"Australia/Adelaide", new String[] {"Australia/Adelaide",
"Central Standard Time (South Australia)", "CST",
"Central Summer Time (South Australia)", "CST"}},
{"Australia/Broken_Hill", new String[] {"Australia/Broken_Hill",
"Central Standard Time (South Australia/New South Wales)", "CST",
"Central Summer Time (South Australia/New South Wales)", "CST"}},
{"Australia/Hobart", new String[] {"Australia/Hobart",
"Eastern Standard Time (Tasmania)", "EST",
"Eastern Summer Time (Tasmania)", "EST"}},
{"Australia/Brisbane", new String[] {"Australia/Brisbane",
"Eastern Standard Time (Queensland)", "EST",
"Eastern Standard Time (Queensland)", "EST"}},
{"Australia/Sydney", new String[] {"Australia/Sydney",
"Eastern Standard Time (New South Wales)", "EST",
"Eastern Summer Time (New South Wales)", "EST"}},
// ko
//{"JST" /*--Asia/Tokyo--*/, "Korea Standard Time",
// "KST", "Korea Standard Time", "KST" /*Seoul*/},
// lt
//{"EET", "Eastern European Standard Time", "EEST",
// "Eastern European Daylight Time", "EEDT" /*Vilnius*/},
// lv
//{"Europe/Riga", "Eastern European Standard Time",
// "EET", "Eastern European Daylight Time", "EEST" /*Riga*/},
// mk
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Skopje*/},
// nl
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Amsterdam*/},
// nl_BE
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Brussels*/},
// no
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Oslo*/},
// no_NO_NY
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Oslo*/},
// pl
//{"Europe/Warsaw", "Central European Standard Time",
// "CET", "Central European Daylight Time", "CEST" /*Warsaw*/},
// pt
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Lisbon*/},
// ro
{"Europe/Bucharest", new String[] {"Europe/Bucharest", "Eastern European Standard Time",
"EET", "Eastern European Daylight Time", "EEST" /*Bucharest*/}},
// ru
//{"EET", "Eastern European Standard Time", "EEST",
// "Eastern European Daylight Time", "EEDT" /*Unknown*/},
// sh
//{"Europe/Paris", "Central European Standard Time",
// "CET", "Central European Daylight Time", "CEST" /*Paris*/}
// sk
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Paris*/},
// sl
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time", "CEDT" /*Ljubljana*/},
// sq
//{"ECT", "Central European Standard Time", "CEST",
// "Central European Daylight Time",
11-06-2004
PUBLIC COMMENTS
To make use of this fix a user needs to use the en_US locale.
stephen.fitch@eng 2000-09-12