RFR: JDK-8297216: Search results omit some methods
Hannes Wallnöfer
hannesw at openjdk.org
Tue Nov 22 14:45:53 UTC 2022
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.
-------------
Commit messages:
- JDK-8297216: Search results omit some methods
Changes: https://git.openjdk.org/jdk/pull/11287/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11287&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8297216
Stats: 53 lines in 2 files changed: 33 ins; 14 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/11287.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11287/head:pull/11287
PR: https://git.openjdk.org/jdk/pull/11287
More information about the javadoc-dev
mailing list