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

Better error messages for parsing

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • 8
    • b113
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: