RFR: 7904080: APIDiff does not detect javadoc (and changes to javadoc) for methods with varargs

Iris Clark iris at openjdk.org
Tue Sep 23 16:14:27 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.

Thanks for fixing this!

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

Marked as reviewed by iris (Reviewer).

PR Review: https://git.openjdk.org/apidiff/pull/31#pullrequestreview-3258741955


More information about the apidiff-dev mailing list