Integrated: 8345212: Since checker should better handle non numeric values

Nizar Benalla nbenalla at openjdk.org
Thu Feb 6 16:17:19 UTC 2025


On Tue, 4 Feb 2025 19:11:07 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:

> Adds a new `-ignoreSince` flag to the SinceChecker, mainly to help long running projects that are not sure about `@since` version of an API.
> The value of `@since` in `@since <ignoredString>` will be the release version, as I assume that this is a new API in a different OpenJDK project. This flag is not meant to be used in the JDK.
> 
> I also improved error message when the actual `@since` value doesn’t match expectations. It used to say `@since version 9; should be <number>` but it now explains the error more clearly.

This pull request has now been integrated.

Changeset: f12d2de5
Author:    Nizar Benalla <nbenalla at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f12d2de53a62ec1c2c98e90409b27811de0560e1
Stats:     66 lines in 1 file changed: 45 ins; 14 del; 7 mod

8345212: Since checker should better handle non numeric values

Reviewed-by: liach

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

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


More information about the javadoc-dev mailing list