Integrated: 8284702: Add @since for java.time.LocalDate.EPOCH
Glavo
duke at openjdk.java.net
Wed Apr 13 02:22:15 UTC 2022
On Tue, 12 Apr 2022 03:21:00 GMT, Glavo <duke at openjdk.java.net> wrote:
> `java.time.LocalDate.EPOCH` was introduced in Java 9, but there is no corresponding `@since` in the javadoc. The absence of `@since` makes it impossible for IDEs to check for misuse of it, it may be misused by users targeting Java 8 and crash at runtime.
This pull request has now been integrated.
Changeset: 5691a3b6
Author: Glavo <zjx001202 at gmail.com>
Committer: Yi Yang <yyang at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/5691a3b6afcb3229ccd0e00d3a4ec9ccacc93182
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
8284702: Add @since for java.time.LocalDate.EPOCH
Reviewed-by: rriggs, bpb, iris, darcy, naoto
-------------
PR: https://git.openjdk.java.net/jdk/pull/8192
More information about the core-libs-dev
mailing list