RFR: JDK-8297216: Search results omit some methods

Hannes Wallnöfer hannesw at openjdk.org
Tue Nov 22 16:18:31 UTC 2022


On Tue, 22 Nov 2022 14:38:34 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a fix for a bug where a method's parameter type could "mask" a method and result in the method to not appear in the search results. The fix consists in checking whether a match covers an element's name in the match loop. 
> 
> Note that the added test must be run manually as it requires GraalVM JS (or some other JS engine) to be installed. In addition to running the test I did extensive A/B testing to make sure search results remain unchanged apart from the bug fix.

I uploaded API docs built without and with this fix:
http://cr.openjdk.java.net/~hannesw/8297216/api.00/search.html (unfixed, current master branch)
http://cr.openjdk.java.net/~hannesw/8297216/api.01/search.html (fixed, this PR branch)

Both uploads include only the top level files with no module documentation.

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

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


More information about the javadoc-dev mailing list