Inaccurate Three-Letter Time Zone Mappings in Java SE’s ZoneId.SHORT_IDS

XMLWordPrintable

      A DESCRIPTION OF THE PROBLEM :
      The SHORT_IDS field documentation contains an incorrect 3-letter mapping for a specific timezone.

      Current Text (Incorrect): ECT
      Expected Text (Correct): CET

      Impact: This causes a ZoneRulesException when developers attempt to use the documented (but incorrect) alias in ZoneId.of(String, Map).

      REGRESSION : Last worked in version 25.0.2

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Navigate to the ZoneId documentation for Java SE 8.
      Locate the SHORT_IDS constant description.
      Observe that the 3-letter code [CET] is mapped to [ECT].


      ---------- BEGIN SOURCE ----------
      https://docs.oracle.com/javase/8/docs/api/java/time/ZoneId.html
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Update the java library java.util.TimeZone with the right timezone code

      FREQUENCY :
      ALWAYS

            Assignee:
            Raghu Kale
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: