Time zone data for OpenJDK 8

2014-08-07 Thread Emmanuel Bourg
Hi all, There is a pending issue with the time zone data in openjdk-8 I'd like to discuss. Starting with OpenJDK 8 the format of the timezone data used by the Java runtime is different from the previous versions. With OpenJDK 6 & 7 there was a set of files, one per timezone, under the $JAVA_HOME/

Re: Time zone data for OpenJDK 8

2014-08-07 Thread Paul Wise
On Fri, Aug 8, 2014 at 7:22 AM, Emmanuel Bourg wrote: > 1. Do nothing. The timezone data will be updated with the quarterly > updates of OpenJDK. Sounds like OpenJDK has an embedded copy of tzdata? Can we get upstream to disentangle that, at least for their source releases? > 2. Copy the sources

Re: Time zone data for OpenJDK 8

2014-08-07 Thread Thorsten Glaser
On Fri, 8 Aug 2014, Emmanuel Bourg wrote: > 5. Implement a java.time.zone.ZoneRulesProvider [3] that reads the TZif2 > files installed by the tzdata package in /usr/share/zoneinfo. This would > render the tzdata-java package obsolete in the long term. GNU ClassPath > has a TZif2 parser [4] that co

Re: Time zone data for OpenJDK 8

2014-08-14 Thread Aurelien Jarno
Hi, On Fri, Aug 08, 2014 at 01:22:57AM +0200, Emmanuel Bourg wrote: > Hi all, > > There is a pending issue with the time zone data in openjdk-8 I'd like > to discuss. > > Starting with OpenJDK 8 the format of the timezone data used by the Java > runtime is different from the previous versions. W

Re: Time zone data for OpenJDK 8

2014-08-14 Thread Emmanuel Bourg
Le 14/08/2014 16:10, Aurelien Jarno a écrit : > I am really reluctant to add yet another format of tzdata. Another > possible solution not listed above is to modify openjdk-8 to use the > same format as openjdk-8. As far as I understand, it should be about > porting the openjdk-7 code to openjdk-8

Re: Time zone data for OpenJDK 8

2014-08-14 Thread Emmanuel Bourg
Le 08/08/2014 05:04, Paul Wise a écrit : > Sounds like OpenJDK has an embedded copy of tzdata? Can we get > upstream to disentangle that, at least for their source releases? I'm not sure this is possible. OpenJDK has a copy of tzdata plus additional timezones [1] kept to preserve the compatibilit

Re: Time zone data for OpenJDK 8

2014-08-14 Thread Russ Allbery
Emmanuel Bourg writes: > Le 08/08/2014 05:04, Paul Wise a écrit : >> Sounds like OpenJDK has an embedded copy of tzdata? Can we get >> upstream to disentangle that, at least for their source releases? > I'm not sure this is possible. OpenJDK has a copy of tzdata plus > additional timezones [1] k

Re: Time zone data for OpenJDK 8

2014-08-15 Thread Thorsten Glaser
On Fri, 15 Aug 2014, Emmanuel Bourg wrote: > Why not, but the compiler for the old format isn't provided by > openjdk-8, so we'll have another issue when openjdk-7 is removed > (probably in Jessie+1). The old compiler would have to be copied into Eh, just do that before the freeze if you don’t ma

Re: Time zone data for OpenJDK 8

2014-09-22 Thread Emmanuel Bourg
Le 08/08/2014 01:22, Emmanuel Bourg a écrit : > 5. Implement a java.time.zone.ZoneRulesProvider [3] that reads the TZif2 > files installed by the tzdata package in /usr/share/zoneinfo. This would > render the tzdata-java package obsolete in the long term. GNU ClassPath > has a TZif2 parser [4] tha