-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b80
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135876 | emb-9 | Lance Andersen | P4 | Resolved | Fixed | team |
Clarify how toLocalDate() creates the LocalDate:
hg diff Date.java
diff -r 562b349a85da src/java.sql/share/classes/java/sql/Date.java
--- a/src/java.sql/share/classes/java/sql/Date.java Tue Aug 18 20:30:15 2015 -0700
+++ b/src/java.sql/share/classes/java/sql/Date.java Wed Aug 19 10:03:58 2015 -0400
@@ -295,11 +295,8 @@
}
/**
- * Converts this {@code Date} object to a {@code LocalDate}
- * <p>
- * The conversion creates a {@code LocalDate} that represents the same
- * date value as this {@code Date} in local time zone
- *
+ * Creates a {@code LocalDate} instance using the year, month and day
+ * from this {@code Date} object.
* @return a {@code LocalDate} object representing the same date value
*
* @since 1.8
hg diff Date.java
diff -r 562b349a85da src/java.sql/share/classes/java/sql/Date.java
--- a/src/java.sql/share/classes/java/sql/Date.java Tue Aug 18 20:30:15 2015 -0700
+++ b/src/java.sql/share/classes/java/sql/Date.java Wed Aug 19 10:03:58 2015 -0400
@@ -295,11 +295,8 @@
}
/**
- * Converts this {@code Date} object to a {@code LocalDate}
- * <p>
- * The conversion creates a {@code LocalDate} that represents the same
- * date value as this {@code Date} in local time zone
- *
+ * Creates a {@code LocalDate} instance using the year, month and day
+ * from this {@code Date} object.
* @return a {@code LocalDate} object representing the same date value
*
* @since 1.8
- backported by
-
JDK-8135876 Minor javadoc clarification for java.sql.Date.toLocalDate
-
- Resolved
-