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

TestZoneInfo310.java fails with tzdata2021e

    XMLWordPrintable

Details

    • b22
    • Not verified

    Backports

      Description

        test/jdk/sun/util/calendar/zi/TestZoneInfo310.java fails with below with tzdata2021e:


        STDOUT:
        Compiling tz files!
        testing!
        OLD.getZoneInfoOld()[1]=1232
        OLD.getZoneInfoOld()[2]=1103
        OLD.getZoneInfoOld()[3]=1159
        OLD.getAvailableIDs()=2051, total=629
        OLD.getAliasTable()=211, total=239
        OLD.TotalTZ()=439 (ms)
        NEW.getTimeZone()[1]=586
        NEW.getTimeZone()[2]=611
        NEW.getTimeZone()[3]=253
        NEW.getAvailableIDs()=22, total=629
        NEW.getAliasTable()=47, total=239
        NEW.TotalTZ()=14 (ms)
        ******************************
        Asia/Gaza : Asia/Gaza
            -------------
            SimpleTimeZone (NG)
               stz=java.util.SimpleTimeZone[id=Asia/Gaza,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=24,startDayOfWeek=7,startTime=0,startTimeMode=0,endMode=3,endMonth=9,endDay=25,endDayOfWeek=6,endTime=3600000,endTimeMode=0]
              stz0=java.util.SimpleTimeZone[id=Asia/Gaza,offset=7200000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=24,startDayOfWeek=7,startTime=0,startTimeMode=0,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=6,endTime=3600000,endTimeMode=0]
            -------------
        STDERR:
        javazic: warning: found last rules for Morocco inconsistent.
        javazic: warning: found last rules for Morocco inconsistent.
        javazic: warning: found last rules for Eire inconsistent.
        java.lang.RuntimeException: FAILED: Asia/Gaza
        at TestZoneInfo310.main(TestZoneInfo310.java:204)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:51)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.base/java.lang.Thread.run(Thread.java:833)

        JavaTest Message: Test threw exception: java.lang.RuntimeException
        JavaTest Message: shutting down test


        TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: FAILED: Asia/Gaza

        Attachments

          Issue Links

            Activity

              People

                ysatowse Yoshiki Sato (Inactive)
                ysatowse Yoshiki Sato (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: