From weiss@zdvnetz.zdv.Uni-Mainz.DE  Mon Aug  1 08:33:06 2005
Return-Path: <weiss@zdvnetz.zdv.Uni-Mainz.DE>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5651016A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Aug 2005 08:33:06 +0000 (GMT)
	(envelope-from weiss@zdvnetz.zdv.Uni-Mainz.DE)
Received: from mailgate2.zdv.Uni-Mainz.DE (mailgate2.zdv.Uni-Mainz.DE [134.93.178.130])
	by mx1.FreeBSD.org (Postfix) with ESMTP id DC35F43D48
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Aug 2005 08:33:05 +0000 (GMT)
	(envelope-from weiss@zdvnetz.zdv.Uni-Mainz.DE)
Received: from zdvnetz.zdv.Uni-Mainz.DE (zdvnetz.zdv.Uni-Mainz.DE [134.93.8.20])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mailgate2.zdv.Uni-Mainz.DE (Postfix) with ESMTP id D8C5A30003DA;
	Mon,  1 Aug 2005 10:33:04 +0200 (CEST)
Received: from zdvnetz.zdv.Uni-Mainz.DE (localhost [127.0.0.1])
	by zdvnetz.zdv.Uni-Mainz.DE (8.13.3/8.11.6) with ESMTP id j718X43H085744;
	Mon, 1 Aug 2005 10:33:04 +0200 (CEST)
	(envelope-from weiss@zdvnetz.zdv.Uni-Mainz.DE)
Received: (from weiss@localhost)
	by zdvnetz.zdv.Uni-Mainz.DE (8.13.3/8.12.3/Submit) id j718X44L085743;
	Mon, 1 Aug 2005 10:33:04 +0200 (CEST)
Message-Id: <200508010833.j718X44L085743@zdvnetz.zdv.Uni-Mainz.DE>
Date: Mon, 1 Aug 2005 10:33:04 +0200 (CEST)
From: Juergen Weiss <weiss@uni-mainz.de>
Reply-To: Juergen Weiss <weiss@uni-mainz.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: weiss@uni-mainz.de
Subject: Timezone Handling does not work with FreeBSD jdk1.4
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         84422
>Category:       java
>Synopsis:       Timezone Handling does not work with FreeBSD jdk1.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-java
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 01 08:40:12 GMT 2005
>Closed-Date:    Tue Oct 04 06:18:32 GMT 2005
>Last-Modified:  Tue Oct 04 06:18:32 GMT 2005
>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@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:

From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Juergen Weiss <weiss@uni-mainz.de>
Cc: FreeBSD-gnats-submit@freebsd.org, <freebsd-java@freebsd.org>
Subject: Re: java/84422: Timezone Handling does not work with FreeBSD jdk1.4
Date: Mon, 1 Aug 2005 11:51:42 +0300 (EEST)

 O Juergen Weiss   Aug 1, 2005 :
 
 > >Synopsis:       Timezone Handling does not work with FreeBSD jdk1.4
 
 I've had come across this too.
 Thanx for the patch.
 
 > 
 
 -- 
 -Achilleus
 
State-Changed-From-To: open->closed 
State-Changed-By: glewis 
State-Changed-When: Tue Oct 4 06:17:13 GMT 2005 
State-Changed-Why:  
Thanks for the report.  This was fixed on 2005/04/18 with the addition of 
files/patch-java-util-TimeZone_md.c.  Please upgrade your port and you 
should find that it works. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=84422 
>Unformatted:
