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

Better error messages for parsing

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      8
    • Resolved In Build:
      b113
    • Verification:
      Verified

      Description

      Parsing originally had good error messages but some of that has been lost.

      When calling methods like LocalDate.parse(), the method should print the toString of the object being parsed to ensure that the internal data is visible to the user.

      The toString of Parsed also needs enhancing to avoid printing null if one of date or time is null.

      See also: https://github.com/ThreeTen/threeten/issues/342

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rriggs Roger Riggs
                Reporter:
                rriggs Roger Riggs
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: