Details

    • Subcomponent:
    • Resolved In Build:
      b42
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        The 2014j release of the tz code and data is available. It reflects the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes:

          Changes affecting current and future time stamps

            Turks & Caicos' switch from US eastern time to UTC-4 year-round
            did not occur on 2014-11-02 at 02:00. It's currently scheduled
            for 2015-11-01 at 02:00. (Thanks to Chris Walton.)

          Changes affecting past time stamps

            Many pre-1989 time stamps have been corrected for Asia/Seoul and
            Asia/Pyongyang, based on sources for the Korean-language Wikipedia
            entry for time in Korea. (Thanks to Sanghyuk Jung.) Also, no
            longer guess that Pyongyang mimicked Seoul time after World War II,
            as this is politically implausible.

            Some more zones have been turned into links, when they differed
            from existing zones only for older time stamps. As usual,
            these changes affect UTC offsets in pre-1970 time stamps only.
            Their old contents have been moved to the 'backzone' file.
            The affected zones are: Africa/Addis_Ababa, Africa/Asmara,
            Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Kampala,
            Africa/Mogadishu, Indian/Antananarivo, Indian/Comoro, and
            Indian/Mayotte.

          Changes affecting commentary

            The commentary is less enthusiastic about Shanks as a source,
            and is more careful to distinguish UT from UTC.

        Here are links to the release files:

          ftp://ftp.iana.org/tz/releases/tzcode2014j.tar.gz
          ftp://ftp.iana.org/tz/releases/tzdata2014j.tar.gz

        The files are also available via HTTP as follows:

          http://www.iana.org/time-zones/repository/releases/tzcode2014j.tar.gz
          http://www.iana.org/time-zones/repository/releases/tzdata2014j.tar.gz

        As usual, links to the latest release files are here:

          http://www.iana.org/time-zones/repository/tzcode-latest.tar.gz
          http://www.iana.org/time-zones/repository/tzdata-latest.tar.gz

          ftp://ftp.iana.org/tz/tzcode-latest.tar.gz
          ftp://ftp.iana.org/tz/tzdata-latest.tar.gz

          Issue Links

            Activity

            aefimov Aleksej Efimov created issue -
            aefimov Aleksej Efimov made changes -
            Field Original Value New Value
            Link This issue relates to JDK-8064559 [ JDK-8064559 ]
            aefimov Aleksej Efimov made changes -
            Status New [ 10000 ] Open [ 1 ]
            Hide
            aefimov Aleksej Efimov added a comment -
            The following error was observed during compilation of tzdb.dat with latest JDK9 source:
            Failed: java.time.zone.ZoneRulesException: Unknown time-zone ID: Africa/Asmera
            java.time.zone.ZoneRulesException: Unknown time-zone ID: Africa/Asmera
            at build.tools.tzdb.TzdbZoneRulesProvider.getZoneRules(TzdbZoneRulesProvider.java:98)
            at build.tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:194)
            at build.tools.tzdb.TzdbZoneRulesCompiler.main(TzdbZoneRulesCompiler.java:89)
            make[3]: *** [/home/aefimov/Oracle/tz/2014j/jdk9/build/linux-x86_64-normal-server-release/jdk/lib/tzdb.dat] Error 1

            Show
            aefimov Aleksej Efimov added a comment - The following error was observed during compilation of tzdb.dat with latest JDK9 source: Failed: java.time.zone.ZoneRulesException: Unknown time-zone ID: Africa/Asmera java.time.zone.ZoneRulesException: Unknown time-zone ID: Africa/Asmera at build.tools.tzdb.TzdbZoneRulesProvider.getZoneRules(TzdbZoneRulesProvider.java:98) at build.tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:194) at build.tools.tzdb.TzdbZoneRulesCompiler.main(TzdbZoneRulesCompiler.java:89) make[3]: *** [/home/aefimov/Oracle/tz/2014j/jdk9/build/linux-x86_64-normal-server-release/jdk/lib/tzdb.dat] Error 1
            Hide
            aefimov Aleksej Efimov added a comment -
            The issue is cause by the following timezone linking behavior:
            There is a Zone with name 'Africa/Nairobi' (defined in 'africa' tzdata file).
            The zone link with name 'Africa/Asmara' is defined in the same 'africa' file. This link refers to 'Africa/Nairobi'.
            And there is another link with name 'Africa/Asmera' defined in 'backward' tz file. It is linked to 'Africa/Asmara'.
            It means that 'Africa/Asmera' linked to 'Africa/Nairobi' through another link (double link chain).
            The current implementation of Tzdb compiler supports only direct links (link to the zone, but not to another link).
            The following fix solves this problem:
            diff -r a474ad2dbd9b make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java
            --- a/make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java Fri Nov 14 11:41:42 2014 +0000
            +++ b/make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java Fri Nov 14 17:40:25 2014 +0300
            @@ -95,7 +95,17 @@
                             obj = zones.get(zoneId);
                         }
                         if (obj == null) {
            - throw new ZoneRulesException("Unknown time-zone ID: " + zoneId0);
            + // Timezone link can be located in 'backward' file and it
            + // can refer to another link, so we need to check for
            + // link one more time, before throwing an exception
            + String zoneIdBack = zoneId;
            + if (links.containsKey(zoneId)) {
            + zoneId = links.get(zoneId);
            + obj = zones.get(zoneId);
            + }
            + if (obj == null) {
            + throw new ZoneRulesException("Unknown time-zone ID: " + zoneIdBack);
            + }
                         }
                     }
                     if (obj instanceof ZoneRules) {

            Show
            aefimov Aleksej Efimov added a comment - The issue is cause by the following timezone linking behavior: There is a Zone with name 'Africa/Nairobi' (defined in 'africa' tzdata file). The zone link with name 'Africa/Asmara' is defined in the same 'africa' file. This link refers to 'Africa/Nairobi'. And there is another link with name 'Africa/Asmera' defined in 'backward' tz file. It is linked to 'Africa/Asmara'. It means that 'Africa/Asmera' linked to 'Africa/Nairobi' through another link (double link chain). The current implementation of Tzdb compiler supports only direct links (link to the zone, but not to another link). The following fix solves this problem: diff -r a474ad2dbd9b make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java --- a/make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java Fri Nov 14 11:41:42 2014 +0000 +++ b/make/src/classes/build/tools/tzdb/TzdbZoneRulesProvider.java Fri Nov 14 17:40:25 2014 +0300 @@ -95,7 +95,17 @@                  obj = zones.get(zoneId);              }              if (obj == null) { - throw new ZoneRulesException("Unknown time-zone ID: " + zoneId0); + // Timezone link can be located in 'backward' file and it + // can refer to another link, so we need to check for + // link one more time, before throwing an exception + String zoneIdBack = zoneId; + if (links.containsKey(zoneId)) { + zoneId = links.get(zoneId); + obj = zones.get(zoneId); + } + if (obj == null) { + throw new ZoneRulesException("Unknown time-zone ID: " + zoneIdBack); + }              }          }          if (obj instanceof ZoneRules) {
            aefimov Aleksej Efimov made changes -
            Link This issue relates to JDK-8064914 [ JDK-8064914 ]
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/224bb8a9297b
            User: aefimov
            Date: 2014-11-17 11:52:20 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/224bb8a9297b User: aefimov Date: 2014-11-17 11:52:20 +0000
            hgupdate HG Updates made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolved In Build team [ 17324 ]
            Fix Version/s 9 [ 14949 ]
            Resolution Fixed [ 1 ]
            aefimov Aleksej Efimov made changes -
            Link This issue relates to JDK-8065377 [ JDK-8065377 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065782 [ JDK-8065782 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065898 [ JDK-8065898 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065901 [ JDK-8065901 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065905 [ JDK-8065905 ]
            asaha Abhijit Saha made changes -
            Labels tzdata tzdata2014j CPU15_01-critical-request tzdata tzdata2014j
            tbarbaro Tracy Barbaro (Inactive) made changes -
            Labels CPU15_01-critical-request tzdata tzdata2014j CPU15_01-critical-approved tzdata tzdata2014j
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065928 [ JDK-8065928 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065930 [ JDK-8065930 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065932 [ JDK-8065932 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8065934 [ JDK-8065934 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8066361 [ JDK-8066361 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8066471 [ JDK-8066471 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8066543 [ JDK-8066543 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8067076 [ JDK-8067076 ]
            hgupdate HG Updates made changes -
            Resolved In Build team [ 17324 ] master [ 18256 ]
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/224bb8a9297b
            User: lana
            Date: 2014-12-10 19:55:01 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/224bb8a9297b User: lana Date: 2014-12-10 19:55:01 +0000
            hgupdate HG Updates made changes -
            Resolved In Build master [ 18256 ] b42 [ 17442 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8069939 [ JDK-8069939 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8071258 [ JDK-8071258 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8072331 [ JDK-8072331 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8084229 [ JDK-8084229 ]
            sqetools SQE Tools made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            Verification Verified [ 17000 ]
            sqetools SQE Tools made changes -
            Labels CPU15_01-critical-approved tzdata tzdata2014j CPU15_01-critical-approved autoverify tzdata tzdata2014j

              People

              • Assignee:
                aefimov Aleksej Efimov
                Reporter:
                aefimov Aleksej Efimov
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: