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

ZonedDateTime parse error for any date using 'GMT0' ZoneID

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 8, 9
    • core-libs
    • b93
    • x86_64
    • generic

    Description

      FULL PRODUCT VERSION :
      java version "1.8.0_60"
      Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
      Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Linux 4.1.6-1-ARCH x86_64

      A DESCRIPTION OF THE PROBLEM :
      Attempting to parse the .toString output of any ZonedDateTime in the 'GMT0' TimeZone results in a DateTimeParseException.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      ZonedDateTime zdt = ZonedDateTime.now(ZoneId.of("GMT0"));
      ZonedDateTime.parse(zdt.toString);
      ---------- END SOURCE ----------

      Attachments

        Issue Links

          Activity

            People

              ntv Nadeesh Tv
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: