Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223773 DateTimeFormatter Fails to throw an Exception on Invalid HOUR_OF_AMPM
  3. JDK-8225062

Release Note: DateTimeFormatter now throws DateTimeParseException on Invalid HOUR_OF_AMPM

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The parsing behavior of `DateTimeFormatter` with `HOUR_OF_AMPM` has changed. It now correctly throws a `DateTimeParseException` with an out-of-bounds input values, such as `12`.

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              naoto Naoto Sato
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: