RFR: 8361366: Allow sorting of member details in lexicographical order [v7]
Hannes Wallnöfer
hannesw at openjdk.org
Wed Oct 15 08:37:12 UTC 2025
On Tue, 14 Oct 2025 16:26:24 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:
>> Please review this patch to add a toggle to order the member details in the table of contents in lexical order. The selected choice is stored and preserved.
>>
>> Here is a preview of the new toggle.
>>
>>
>> https://github.com/user-attachments/assets/55c81e4b-5fc0-416e-8946-53aede419640
>
> Nizar Benalla has updated the pull request incrementally with one additional commit since the last revision:
>
> remove redundant css
Changes requested by hannesw (Reviewer).
src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/script.js.template line 666:
> 664: const href = link.getAttribute("href");
> 665: if (href === "#constructor-detail" || href === "#method-detail"
> 666: || href === "#field-detail") {
This is missing a few kinds of detail sections: `#annotation-interface-element-detail`, `#enum-constant-detail`, `#property-detail`.
-------------
PR Review: https://git.openjdk.org/jdk/pull/26322#pullrequestreview-3339004846
PR Review Comment: https://git.openjdk.org/jdk/pull/26322#discussion_r2431570369
More information about the javadoc-dev
mailing list