RFR: 8284702: Add @since for java.time.LocalDate.EPOCH
Joe Darcy
darcy at openjdk.java.net
Tue Apr 12 16:06:31 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.
The @since tag was omitted as part of JDK-8143413 and it is good to add it now.
-------------
Marked as reviewed by darcy (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8192
More information about the core-libs-dev
mailing list