where is TimeZone bits

Medi Montaseri medi.montaseri at hds.com
Tue Mar 4 01:45:32 UTC 2014


thanks guys...

Sean's recommendation (of including latest tzdata) sound very much like Martin's -with-tzdata-dir.
Any chance of seeing that option (--with-tzdata-dir)  in OpenJDK8? My read from Martin's comment is that Icedtea configurator is different from openjdk configurator.

Thanks
Medi


________________________________
From: Seán Coffey [sean.coffey at oracle.com]
Sent: Monday, March 03, 2014 5:13 PM
To: Martin Buchholz; Medi Montaseri
Cc: build-dev at openjdk.java.net
Subject: Re: where is TimeZone bits

JDK 8 does continue to ship with tzdata info built into it. The structure changed significantly with the introduction of JSR 310. The lib/zi directory has been replaced with one lib/tzdb.dat file which contains the tzdata rules in compiled format.

You can always add the latest tzdata to the jdk/make/data/tzdata/ directory and rebuild for latest rules.

regards,
Sean.

On 03/03/14 15:36, Martin Buchholz wrote:

A difference between IcedTea and Oracle JDK.  E.g.
http://icedtea.classpath.org/wiki/IcedTea_JDK6_Patches

use-system-tzdata Use timezone data from the system .

$ ./configure --help
  --with-tzdata-dir[=DIR] set the Java timezone data directory
                          [DIR=/usr/share/javazi]



On Mon, Mar 3, 2014 at 2:41 PM, Medi Montaseri <medi.montaseri at hds.com><mailto:medi.montaseri at hds.com>wrote:



Hi,

Not sure if this is the correct forum....
I have installed openJDK8 on a Debian linux. I was comparing my new JRE
with an older version (openjdk6) and I see that I don't have bunch of
timezone files.

Here is the old one

./jre/lib/zi/CST6CDT
./jre/lib/zi/SystemV/
./jre/lib/zi/SystemV/PST8PDT
./jre/lib/zi/SystemV/AST4
etc, etc

I read something about Sun no longer including tzupdator and timezone
files....what is OpenJDK's position on this issue? If openjdk8 does not
include TimeZone, how do I incorporate them into my JRE and JDK? Is there
another upstream maintainer of TZs?

thanks
Medi







More information about the build-dev mailing list