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

Test "java/util/TimeZone/DefaultTimeZoneTest.java" is not updating the zone ID as expected

XMLWordPrintable

    • b14
    • generic
    • generic

        Tested on OS: Linux

        Reproducible: Always

        General description of the problem:
        ZoneID is not updating when the user change the platform time zone setting, then click the "Update Time Zone" button.

        Affected test:
        java/util/TimeZone/DefaultTimeZoneTest.java

        Steps to reproduce:
        1: Execute the test java/util/TimeZone/DefaultTimeZoneTest.java
        2. Run the test case: java/util/TimeZone/DefaultTimeZoneTest.java
        3. Observe the displayed Time zone ID and the local time currently ( Asia/Kolkata)
        4. Change the platform timezone setting to Europe/London.
        5. Click "Update Time Zone" button
        6. Observe the displayed Time zone ID and the local time and local time update on the window

        Expected behavior:
        The ZoneID should update as per local time when new timezone is set and ZoneID should be displayed.

        Actual behavior:
        The ZoneID in Java is not updating as we update the local time when the user change the platform timezone setting , then click the "Update Time Zone" button.

              vbp Vanitha B P
              vbp Vanitha B P
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: