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

ZonedDateTime parse error for any date using 'GMT0' ZoneID

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b93
    • CPU:
      x86_64
    • OS:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: