RFR: 8343781: Add since checker test to the Serviceability area modules
Serguei Spitsyn
sspitsyn at openjdk.org
Tue Nov 12 19:26:13 UTC 2024
On Fri, 8 Nov 2024 15:20:00 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:
> Can I please get a review for this PR that add tests to verify the value of `@since` tags to the Serviceability area modules. The test is described in this [email](https://mail.openjdk.org/pipermail/jdk-dev/2024-October/009474.html). This issue is similar to JDK-8341399, JDK-8331051 and JDK-8343442.
>
> The benefit from this is helping API authors and reviewer validate the accuracy of `@since` in their source code (and subsequently, in the generated documentation). And lessen the burden on Reviewers.
>
> The test has been added for `java.base` and a few other modules and has helped catch some bugs before they make it to the JDK.
>
> TIA
test/jdk/tools/sincechecker/modules/jdk.jconsole/JdkJconsoleCheckSince.java line 29:
> 27: * @summary Test for @since in jdk.jconsole module
> 28: * @library /test/lib /test/jdk/tools/sincechecker
> 29: * @run main SinceChecker jdk.jartool
Q: Should it be `jdk.console` instead of `jdk.jartool`?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21983#discussion_r1838642855
More information about the serviceability-dev
mailing list