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

tzupdater.jar upgrade tzdata 2018f or later versions error

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Linux version 4.14.59-64.43.amzn1.x86_64 (mockbuild@gobi-build-64010) (gcc version 7.2.1 20170915 (Red Hat 7.2.1-2) (GCC)) #1 SMP Thu Aug 2 21:29:33 UTC 2018

      java version "1.8.0_181"
      Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
      Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)


      A DESCRIPTION OF THE PROBLEM :
      use
      sudo java -jar tzupdater.jar -l

      However, I'm getting this error message:
      Failed: java.lang.Exception: Failed while parsing file '/tmp/tz.tmp_1/asia' on line 1655 'Rule Japan 1948 1951 - Sep Sat>=8 25:000S'
      java.lang.Exception: Failed while parsing file '/tmp/tz.tmp_1/asia' on line 1655 'Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S'
          at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:377)
          at tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:191)
          at tools.tzdb.TzdbZoneRulesCompiler.<init>(TzdbZoneRulesCompiler.java:307)
          at com.sun.tools.tzupdater.ExternalModule.compileToJSRBinary(ExternalModule.java:153)
          at com.sun.tools.tzupdater.TimezoneUpdater.run(TimezoneUpdater.java:230)
          at com.sun.tools.tzupdater.TimezoneUpdater.main(TimezoneUpdater.java:634)
      Caused by: tools.tzdb.DateTimeException: Invalid value for SecondOfDay value: 90000
          at tools.tzdb.ChronoField.checkValidValue(ChronoField.java:173)
          at tools.tzdb.LocalTime.ofSecondOfDay(LocalTime.java:210)
          at tools.tzdb.TzdbZoneRulesCompiler.parseMonthDayTime(TzdbZoneRulesCompiler.java:475)
          at tools.tzdb.TzdbZoneRulesCompiler.parseRuleLine(TzdbZoneRulesCompiler.java:399)
          at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:354)
          ... 5 more

      REGRESSION : Last worked in version selected='selected'

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      use
      sudo java -jar tzupdater.jar -l

      However, I'm getting this error message:
      Failed: java.lang.Exception: Failed while parsing file '/tmp/tz.tmp_1/asia' on line 1655 'Rule Japan 1948 1951 - Sep Sat>=8 25:000S'
      java.lang.Exception: Failed while parsing file '/tmp/tz.tmp_1/asia' on line 1655 'Rule Japan 1948 1951 - Sep Sat>=8 25:00 0 S'
          at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:377)
          at tools.tzdb.TzdbZoneRulesCompiler.compile(TzdbZoneRulesCompiler.java:191)
          at tools.tzdb.TzdbZoneRulesCompiler.<init>(TzdbZoneRulesCompiler.java:307)
          at com.sun.tools.tzupdater.ExternalModule.compileToJSRBinary(ExternalModule.java:153)
          at com.sun.tools.tzupdater.TimezoneUpdater.run(TimezoneUpdater.java:230)
          at com.sun.tools.tzupdater.TimezoneUpdater.main(TimezoneUpdater.java:634)
      Caused by: tools.tzdb.DateTimeException: Invalid value for SecondOfDay value: 90000
          at tools.tzdb.ChronoField.checkValidValue(ChronoField.java:173)
          at tools.tzdb.LocalTime.ofSecondOfDay(LocalTime.java:210)
          at tools.tzdb.TzdbZoneRulesCompiler.parseMonthDayTime(TzdbZoneRulesCompiler.java:475)
          at tools.tzdb.TzdbZoneRulesCompiler.parseRuleLine(TzdbZoneRulesCompiler.java:399)
          at tools.tzdb.TzdbZoneRulesCompiler.parseFile(TzdbZoneRulesCompiler.java:354)
          ... 5 more


      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rpatil Ramanand Patil (Inactive)
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: