<i18n dev> RFR: 8231098: (tz) Upgrade time-zone data to tzdata2019c

Martin Buchholz martinrb at google.com
Tue Sep 17 17:14:35 UTC 2019


On Tue, Sep 17, 2019 at 9:45 AM <naoto.sato at oracle.com> wrote:

> +1
>
> On 9/17/19 8:29 AM, Martin Buchholz wrote:
> > Looks good to me.
> > At Google we also integrated tzdata2019c, and it was uneventful (good!).
> > But we're still using rearguard format.
> > The vanguard/rearguard distinction is a source of errors, so it should be
> > made clear what format is being used to import the files.
> > If you have a script to update the jdk sources, perhaps it should be
> > checked in to openjdk?
> > If these files are in vanguard format, is there a trap for those of us
> > doing backports to jdks that only support rearguard?
>
> Can't think of any off the top of my head, Martin. The build tool
>

Which build tool? TzdbZoneRulesCompiler?


> internally converts vanguard data into rearguard compatible, by
> adjusting the standard offsets, and build into tzdb.dat (which should
> even be compatible to prior JDK runtimes).
>

So ... a change like this one is created by copying selected vanguard
format files from the tzdata source distribution into openjdk, and
then TzdbZoneRulesCompiler converts to rearguard format internally?  At
Google, we chose to run tzdata's own tool to convert to rearguard format
and then check in those data files into the jdk source tree.

I worry that when other engineers backport to older releases, if only the
data files are copied, then conversion to rearguard format will not
happen, with bad results.


More information about the i18n-dev mailing list