java/84422: Timezone Handling does not work with FreeBSD jdk1.4
Juergen Weiss
weiss at uni-mainz.de
Mon Aug 1 08:40:13 GMT 2005
>Number: 84422
>Category: java
>Synopsis: Timezone Handling does not work with FreeBSD jdk1.4
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-java
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Aug 01 08:40:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Juergen Weiss
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
Johannes Gutenberg Universitaet
>Environment:
System: FreeBSD zdvnetz.zdv.Uni-Mainz.DE 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
the java runtime in jdk-1.4.2p7 is not able to extract timezone
information from the operating system, if /etc/localtime is a
symlink to a zone file in /usr/share/zoneinfo, for example
Europe/Berlin. Result is, that time functions give times in
zone GMT.
>How-To-Repeat:
output date/time
>Fix:
*** ./j2se/src/solaris/native/java/util/TimeZone_md.c~ Tue Feb 1 11:20:20 2005
--- ./j2se/src/solaris/native/java/util/TimeZone_md.c Sun Jul 31 11:59:51 2005
***************
*** 236,242 ****
return NULL;
}
! #if defined(__linux__)
/*
* If it's a symlink, get the link name and its zone ID part. (The
* older versions of timeconfig created a symlink as described in
--- 236,242 ----
return NULL;
}
! #if defined(__linux__) || defined(_BSD_SOURCE)
/*
* If it's a symlink, get the link name and its zone ID part. (The
* older versions of timeconfig created a symlink as described in
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-java
mailing list