freeCodeCamp / freeCodeCamp/devdocs
Anchor links to methods with generic parameters broken on OpenJDK 8/11
- Vorherrschende Sprache
- Ruby
- Sterne
- 39.5k
- Forks
- 2.6k
- Ø Merge
- 4 T. 32 Min.
- Gemergte PRs (30 T.)
- 13
Beschreibung
# Bug report
## OS information
macOS 12.5.1 / Firefox 106
## Steps to reproduce
* Open https://devdocs.io/openjdk~8/ or https://devdocs.io/openjdk~11/ (versions 17, 18 and 19 work correctly).
* Search for “List.add()” and select the first result.
* Expected: the `List` documentation page opens, with the documentation for the `add` method visible.
* Actual: the `List` documentation page opens, but we see the top of the page and need to scroll manually to the `add` method.
## Possible fix
It looks like id of the method section in the documentation page is `add(java.lang.Object)` instead of `add(E)`. The scraper might need to be fixed.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.