public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/17002] New: java.util.TimeZone.getDefault() is broken
@ 2004-08-12 13:39 mark at gcc dot gnu dot org
  2004-08-12 13:39 ` [Bug libgcj/17002] " mark at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: mark at gcc dot gnu dot org @ 2004-08-12 13:39 UTC (permalink / raw)
  To: java-prs

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


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <bug-17002-3639@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2007-06-22 12:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-12 13:39 [Bug libgcj/17002] New: java.util.TimeZone.getDefault() is broken mark at gcc dot gnu dot org
2004-08-12 13:39 ` [Bug libgcj/17002] " mark at gcc dot gnu dot org
2004-08-26 16:11 ` cvs-commit at gcc dot gnu dot org
2004-08-26 18:22 ` pinskia at gcc dot gnu dot org
2004-08-26 19:43 ` mckinlay at redhat dot com
2004-08-26 20:34 ` mark at klomp dot org
2004-08-26 21:08 ` mckinlay at redhat dot com
     [not found] <bug-17002-3639@http.gcc.gnu.org/bugzilla/>
2007-02-22 16:05 ` jakub at gcc dot gnu dot org
2007-02-23 15:13 ` gary at gcc dot gnu dot org
2007-02-23 15:50 ` cvs-commit at developer dot classpath dot org
2007-06-22 12:17 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).