From 3758f34dba0b95f9ae679a4086a442cbeb434115 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 23 Feb 2007 15:13:18 +0000 Subject: re PR libgcj/17002 (java.util.TimeZone.getDefault() is broken) 2007-02-22 Jakub Jelinek 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. From-SVN: r122258 --- libjava/classpath/lib/java/util/VMTimeZone.class | Bin 3256 -> 3964 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'libjava/classpath/lib/java/util/VMTimeZone.class') diff --git a/libjava/classpath/lib/java/util/VMTimeZone.class b/libjava/classpath/lib/java/util/VMTimeZone.class index f2f9fa9..fa22ac6 100644 Binary files a/libjava/classpath/lib/java/util/VMTimeZone.class and b/libjava/classpath/lib/java/util/VMTimeZone.class differ -- cgit v1.1