JDK-8075678 : java.time javadoc error in DateTimeFormatter::parsedLeapSecond
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.time
  • Affected Version: 8u40
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-03-16
  • Updated: 2016-06-13
  • Resolved: 2015-05-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u60Fixed 9 b67Fixed
Description
A DESCRIPTION OF THE PROBLEM :
The javadoc contains:
"The query will return one second of excess if it did adjust to remove the leap-second, and zero if not."

this should be replaced with something like:
"The query will return true if it did adjust to remove the leap-second, and false if not."


URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html#parsedLeapSecond--