From owner-freebsd-java Wed Mar 13 1: 6:33 2002 Delivered-To: freebsd-java@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 8B09137B402 for ; Wed, 13 Mar 2002 01:06:29 -0800 (PST) Received: from dhcp151-67-151-24.nt01-c3.cpe.charter-ne.com ([24.151.67.151] helo=there) by snipe.prod.itd.earthlink.net with smtp (Exim 3.33 #1) id 16l4iK-0006LF-00; Wed, 13 Mar 2002 01:06:28 -0800 Content-Type: text/plain; charset="iso-8859-1" From: Dylan Carlson Reply-To: absinthe@pobox.com Organization: r e t r o v e r t i g o To: Timothy Kettering , FreeBSD-Java Subject: Re: Setting the JVM timezone Date: Wed, 13 Mar 2002 04:06:24 -0500 X-Mailer: KMail [version 1.3] References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tuesday 12 March 2002 07:27pm, Timothy Kettering wrote: > Yes, I could put this in, but I'm also the kind of person who dislikes > putting in a fix on top of a problem that (in my perspective) shouldn't be > a problem to start with. Better to resolve the problem itself, I think. > We've had this same problem! I have checked jguru and other sources and it seems that other people, not necessarily just with the FreeBSD VM, have had this same problem. We made a property file for our apps and servlets to set the timezone manually. We did not see any other reliable mechanism for doing so. For as "improved" as the date/time handling is supposed to be in 1.2.2... I think it's ridiculous that everyone is still struggling with these issues in 1.3. Frankly I don't know why the problem hasn't gotten more attention. Time and date must not, surprisingly, be a major factor in the rest of the world's Java applications . . . IMO, the VM should *NEVER* set an arbitrary default timezone if it can't figure out what the real timezone is. It should throw an exception and halt. -- Dylan Carlson [absinthe@pobox.com] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message