Integrated: JDK-8280534: Enable compile-time doclint reference checking
Joe Darcy
darcy at openjdk.java.net
Mon Jan 31 23:26:10 UTC 2022
On Wed, 26 Jan 2022 20:05:07 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> The changes in this PR on top of the out-for-review changes in https://git.openjdk.java.net/jdk/pull/7222 allow compile-time doclint checking to be enabled in all JDK modules.
>
> Typically, a @SuppressWarnings("doclint:refernce") annotation is added to declaration with javadoc blocks that have already had distinguished cross-module links added (JDK-8280492).
>
> One exception is in src/java.base/share/classes/java/net/package-info.java where the cross-module link was (for now) removed. Currently the SuppressWarnings annotation type is not declared to allow its annotations to be applied to package declarations. I'll look into amending that, but in the mean time, I think it is beneficial for the JDK build, and the base module in particular, to have compile-time doclint protections turned on.
This pull request has now been integrated.
Changeset: 4dbebb62
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4dbebb62aa264adda8d96a06f608ef9d13155a26
Stats: 28 lines in 21 files changed: 21 ins; 0 del; 7 mod
8280534: Enable compile-time doclint reference checking
Reviewed-by: serb, naoto, mchung, lancea, iris
-------------
PR: https://git.openjdk.java.net/jdk/pull/7237
More information about the core-libs-dev
mailing list