gcc/libjava/java
Mark Wielaard 4234810174 re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken)
2004-08-26  Mark Wielaard  <mark@klomp.org>

       Fixes PR libgcj/17002:
       * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
       a TimeZoneId string and then try to convert that to a TimeZone with
       getDefaultSystemTimeZone(String).
       (timezones0): Changed type from Hashtable to HashMap.
       (timezones): Create HashMap, not Hashtable.
       (getDefaultTimeZone): New method, rewritten from CNI version.
       (readTimeZoneFile): New method.
       (readtzFile): Likewise.
       (skipFully): Likewise.
       * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
       getDefaultTimeZoneId and rewritten.
       (getDefaultTimeZoneId): Rewritten in java.

From-SVN: r86623
2004-08-26 16:10:54 +00:00
..
applet [multiple changes] 2004-06-17 23:43:16 +00:00
awt [multiple changes] 2004-07-22 15:36:05 +00:00
beans EventHandler.java: Remove debugging statements. 2004-07-14 22:59:24 +00:00
io File.java (toURI): Throw RuntimeException, not InternalError. 2004-07-27 19:42:38 +01:00
lang defineclass.cc: Include <stdio.h>. 2004-08-23 19:21:19 +00:00
math URLStreamHandler.java (toExternalForm): Removed unused variables. 2004-05-03 19:52:29 +00:00
net DatagramSocket.java: Fixed typo. 2004-08-19 09:19:58 +00:00
nio 2004-07-17 Michael Koch <konqueror@gmx.de> 2004-07-17 08:43:43 +00:00
rmi MarshalledObject.java, [...]: Fixed javadoc, coding style and argument names all over. 2004-04-20 14:45:10 +00:00
security BasicPermission.java: Don't check wildcards. 2004-08-05 17:51:11 +00:00
sql Timestamp.java (valueOf): Synchronize access to dateFormat. 2004-08-03 01:21:26 +01:00
text 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org> 2004-07-17 08:46:14 +00:00
util re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2004-08-26 16:10:54 +00:00