java.time.Instant.getEpochSeconds() javadocs still has a typo (JDK-8167166)

Kurt Alfred Kluever kak at google.com
Thu Feb 1 20:46:32 UTC 2018


Hey folks,

I had a quick question about the javadocs of this method. It looks like the
`getNanosOfSecond` -> `getNano` mistake was fixed
<https://bugs.openjdk.java.net/browse/JDK-8167166>, but the Java9 docs
still claim that `getNano()` returns "the nanosecond part of the day"
<https://docs.oracle.com/javase/9/docs/api/java/time/Instant.html#getEpochSecond-->
.

It should be "the nanosecond part of the *second*".

(Apologies if this isn't the correct way to report things like this...)

-- 
kak


More information about the core-libs-dev mailing list