TimeZone Updater Tool/Project, where would we put it?
Alan Bateman
Alan.Bateman at oracle.com
Fri Nov 29 10:36:45 UTC 2019
On 28/11/2019 15:48, Andrew Leonard wrote:
> - Contribute all the tzupdater code to the JDK (jdk/jdk) project under the
> folder "src/tzupdater"
> - Add configure option --build-latest-tzupdater
> - When specified it:
> - upgrades the IANA files with the latest from IANA
> - once tzdb.dat has been built as part of gendata target, the
> src/tzupdater is built which produces
> "build/<platformdir>/images/tzupdater/jtzuYYYY[a-z].zip"
> (2):
> - Currently the built "jtzuYYYY[a-z]/zip" can be applied by the end user
> to any jdk8+ based on current features and "rearguard" compatibility.
>
Can you expand a bit on what you mean by "can be applied"? It is a zip
that is unzipped over an existing run-time image or is a script or
native program that patches the run-time image? I guess I'm trying to
understand if this is specific to tzdb.dat or whether it's a more
general patching tool. I would minimally expect that anything updating
the run-time image would do version and other sanity checks before
updating and that it would update the `release` file to leave clear
evidence that it was updated. I'm also wondering why the build of JDK N
would produce a patch for releases older than N - is that just
convenience because the more recent TZ data will be likely in the repo
building JDK N?
-Alan
More information about the jdk-dev
mailing list