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

TimeZoneTest.java fails with tzdata2021b

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • core-libs
    • None
    • b19

        test/jdk/java/util/TimeZone/TimeZoneTest.java fails with below with tzdata2021b:


        TimeZoneTest {
          TestShortZoneIDs {
            Fail: Expected Zone["MIT", GMT+13:00, Daylight]; got Zone["MIT", GMT+13:00, Standard]
            Uncaught exception thrown in test method TestShortZoneIDs
        STDERR:
        java.lang.RuntimeException: Uncaught exception thrown in test method TestShortZoneIDs
        at IntlTest.errImpl(IntlTest.java:198)
        at IntlTest.errln(IntlTest.java:185)
        at IntlTest.run(IntlTest.java:126)
        at TimeZoneTest.main(TimeZoneTest.java:44)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        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: Uncaught exception thrown in test method TestShortZoneIDs

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

                Created:
                Updated:
                Resolved: