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

java.time.temporal.ChronoUnit.FOREVER typo

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b106

      Description

      It might be intentional or a copy+paste thing, the javadoc of FOREVER
      reads:

      "... The estimated duration of the era is artificially defined as the
      largest duration supported by Duration."

      Since this fragment of the sentence is also describing ERA i suspect
      its a copy+paste problem, it can be reworded in:

       The estimated duration of this unit is artificially defined as the
       largest duration supported by @{link Duration}.

        Attachments

          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: