ChronoUnit.FOREVER javadoc talks about era
Roger Riggs
Roger.Riggs at Oracle.com
Tue Oct 13 14:40:45 UTC 2015
Thanks, created a bug report for this:
https://bugs.openjdk.java.net/browse/JDK-8139529
Roger
On 10/12/2015 12:45 PM, Bernd Eckenfels wrote:
> 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}.
>
> Greetings
> Bernd
More information about the core-libs-dev
mailing list