Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8339743

Update TZUpdater readme

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Delivered
    • Icon: P4 P4
    • None
    • None
    • tools
    • None

      Update TZUpdater readme.
      (https://www.oracle.com/java/technologies/javase/tzupdater-readme.html#issues)

      We need to add one issue to the Known issue list and one old issue has to be removed

      Known issue to be added:

      To update a JDK installation to tzdata2024b, the following workaround is available for jdk8 and above versions:
      Run the TZUpdater tool as follows:
      1. Download tzdata bundle from https://data.iana.org/time-zones/releases/tzdata2024b.tar.gz
      2. Extract tzdata2024b.tar.gz contents to a local directory
      3. Open northamerica file and modify the rule entry on line number 2634 in 'IN' column from 'April' to 'Apr' as per the below patch in IANA:
      https://github.com/eggert/tz/commit/926b507fa5c3192b1b68fab5910cbd3ba9377c97
      4. Tar and gzip the modified bundle (sample command : tar -czvf {directory path where modified tar bundle to be created}/tzdata_modified.tar.gz * )
      5. run the tzupdater, passing the modified bundle path in -l option (sample :$ java -jar tzupdater.jar -l file://{path of modified tar}/tzdata_modified.tar.gz)
      The issue is being tracked under:
      https://bugs.openjdk.org/browse/JDK-8339645


      Known issue to be removed:

      tzdata2018e and later
      Since the 2018e tzdata release, the TZUpdater tool will need to use the rearguard format of tzdata provided by IANA. Further information can be found at:

      https://bugs.openjdk.java.net/browse/JDK-8195595
      https://bugs.openjdk.java.net/browse/JDK-8212684
      The rearguard format of tzdata is provided for compatibility purposes. The tz-announce mails contain links to the relevant rearguard formats which should be used with the TZUpdater tool. Use the -l feature of the tool to specify which tzdata bundle should be used.

      For example:

      java -jar tzupdater.jar -l https://web.cs.ucla.edu/~eggert/tz/release/2019a/tzdata2019a-rearguard.tar.gz

            rgallard Raymond Gallardo
            jjose Johny Jose
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: