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

java.time.temporal.ChronoUnit.FOREVER typo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 9
    • 8
    • core-libs
    • b106

      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}.

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

              Created:
              Updated:
              Resolved: