Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8174618 | 10 | Lance Andersen | P4 | Resolved | Fixed | b01 |
A DESCRIPTION OF THE PROBLEM :
The Javadoc for the java.sql.Timestamp.toString() method states "where ffffffffff indicates nanoseconds". There are 10 f's in the quoted line, however the actual format (which is correct) only has 9 f's.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Formats a timestamp in JDBC timestamp escape format. yyyy-mm-dd hh:mm:ss.fffffffff, where fffffffff indicates nanoseconds.
ACTUAL -
Formats a timestamp in JDBC timestamp escape format. yyyy-mm-dd hh:mm:ss.fffffffff, where ffffffffff indicates nanoseconds.
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html#toString--
The Javadoc for the java.sql.Timestamp.toString() method states "where ffffffffff indicates nanoseconds". There are 10 f's in the quoted line, however the actual format (which is correct) only has 9 f's.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Formats a timestamp in JDBC timestamp escape format. yyyy-mm-dd hh:mm:ss.fffffffff, where fffffffff indicates nanoseconds.
ACTUAL -
Formats a timestamp in JDBC timestamp escape format. yyyy-mm-dd hh:mm:ss.fffffffff, where ffffffffff indicates nanoseconds.
URL OF FAULTY DOCUMENTATION :
https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html#toString--
- backported by
-
JDK-8174618 Typo in java.sql.Timestamp.toString() method Javadoc.
-
- Resolved
-