Integrated: 7904080: APIDiff does not detect javadoc (and changes to javadoc) for methods with varargs
Jan Lahoda
jlahoda at openjdk.org
Wed Sep 24 08:15:37 UTC 2025
On Fri, 19 Sep 2025 17:46:57 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> The keys in the HTML Javadoc for methods with varargs use `...`, but the signatures generated by API Diff use `[]`, so API Diff cannot find the appropriate javadoc in the HTML for vararg methods, which leads to a failure to show the differences in the javadoc for such methods.
>
> There are multiple possible ways to fix that, but the proposal herein is to try to normalize the keys to use `[]` while reading the HTML.
This pull request has now been integrated.
Changeset: 80d071c4
Author: Jan Lahoda <jlahoda at openjdk.org>
URL: https://git.openjdk.org/apidiff/commit/80d071c4e21be20dfcf44e6de02e6832c776a13b
Stats: 10 lines in 2 files changed: 8 ins; 0 del; 2 mod
7904080: APIDiff does not detect javadoc (and changes to javadoc) for methods with varargs
Reviewed-by: cstein, iris
-------------
PR: https://git.openjdk.org/apidiff/pull/31
More information about the apidiff-dev
mailing list