OSDN Git Service

2007-02-22 Jakub Jelinek <jakub@redhat.com>
authorgary <gary@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Feb 2007 15:13:18 +0000 (15:13 +0000)
committergary <gary@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Feb 2007 15:13:18 +0000 (15:13 +0000)
commit1d1d516778aaae0cf5b3d6589fb2a0fd461b14b6
tree8cab36ceed45dde4ed5a2179bf1f75cd3fd6ebe5
parentcb2b9385c9917a168813a83c327941e633b6959a
2007-02-22  Jakub Jelinek  <jakub@redhat.com>

PR libgcj/17002
PR classpath/28550
* java/util/VMTimeZone.java (getDefaultTimeZoneId): To read
/etc/localtime, use ZoneInfo.readTZFile instead of
VMTimeZone.readtzFile.  Get better timezone name for /etc/localtime,
either if it is a symlink or through /etc/sysconfig/clock.
(readSysconfigClockFile): New static method.
(readtzFile): Removed.
* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
* posix.cc (_Jv_platform_initProperties): Set
gnu.java.util.zoneinfo.dir.
* sources.am (gnu_java_util_source_files): Add
classpath/gnu/java/util/ZoneInfo.java.
* Makefile.in: Regenerated.
* java/util/VMTimeZone.h: Regenerated.
* java/util/TimeZone.h: Regenerated.
* gnu/java/util/ZoneInfo.h: Generated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122258 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/classpath/lib/gnu/java/util/ZoneInfo.class
libjava/classpath/lib/java/lang/System$EnvironmentCollection.class
libjava/classpath/lib/java/lang/System$EnvironmentMap.class
libjava/classpath/lib/java/lang/System$EnvironmentSet.class
libjava/classpath/lib/java/lang/System.class
libjava/classpath/lib/java/util/Date.class
libjava/classpath/lib/java/util/GregorianCalendar.class
libjava/classpath/lib/java/util/SimpleTimeZone.class
libjava/classpath/lib/java/util/TimeZone$1.class
libjava/classpath/lib/java/util/TimeZone.class
libjava/classpath/lib/java/util/VMTimeZone.class