Error message typo in TemporalAccessor

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs
    • 8
    • b03
    • Verified

        TemporalAccessor line 220

        throw new UnsupportedTemporalTypeException("Invalid field " + field + " + for get() method, use getLong() instead");

        has a "+" within the quotes resulting in the error message "UnsupportedTemporalTypeException: Invalid field ModifiedJulianDay + for get() method, use getLong() instead"

        Fix is to remove the two characters " +":

        throw new UnsupportedTemporalTypeException("Invalid field " + field + " for get() method, use getLong() instead");

              Assignee:
              Roger Riggs
              Reporter:
              Stephen Colebourne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: