RFR: 8343780: Add since checker tests to the Tools area modules and add missing @since to jdk.jfr.Recording

Nizar Benalla nbenalla at openjdk.org
Fri Nov 8 15:40:36 UTC 2024


Can I please get a review for this PR that add tests to verify the value of `@since` tags to the Tools area modules. The test is described in this [email](https://mail.openjdk.org/pipermail/jdk-dev/2024-October/009474.html).

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.

Notes: 
- I have also added an `@since` tag that was missing.
- You will notice there is no test for the `jdk.jfr` module, it will be added in a future PR because it requires special handling. (JFR used to be a commercial feature and this requires special handling to be added for it in the test)

TIA

-------------

Commit messages:
 - remove backticks
 - 8343780

Changes: https://git.openjdk.org/jdk/pull/21982/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21982&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343780
  Stats: 16 lines in 6 files changed: 1 ins; 0 del; 15 mod
  Patch: https://git.openjdk.org/jdk/pull/21982.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21982/head:pull/21982

PR: https://git.openjdk.org/jdk/pull/21982


More information about the core-libs-dev mailing list