freeCodeCamp / freeCodeCamp/devdocs

Anchor links to methods with generic parameters broken on OpenJDK 8/11

Đang mở
#1,868 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Ruby
Star
39.5k
Fork
2.6k
Merge trung bình
4 ngày 32 phút
Pull request đã merge (30 ngày)
13

Mô tả

# 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.