From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16574 invoked by alias); 12 Aug 2004 13:39:08 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 16558 invoked by uid 48); 12 Aug 2004 13:39:07 -0000 Date: Thu, 12 Aug 2004 13:39:00 -0000 From: "mark at gcc dot gnu dot org" To: java-prs@gcc.gnu.org Message-ID: <20040812133905.17002.mark@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/17002] New: java.util.TimeZone.getDefault() is broken X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00221.txt.bz2 List-Id: TimeZone.getDefault() has two bugs mapping short timezone names (plus GMT-offset) to long/display timezone information. - The interface between getDefault() and the native getDefaultTimeZoneId() is unclear. Which means that the result of getDefaultTimeZoneId() is not always mapped to the correct TimeZone. - getDefaultTimeZoneId() should always return the standard (std) short timezone name, never the alternative (dst) Daylight Savings Time name. When it returns a dst name the getDefault() mapping from short name to long/display timezone name also breaks. -- Summary: java.util.TimeZone.getDefault() is broken Product: gcc Version: 3.5.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: mark at klomp dot org ReportedBy: mark at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17002