RFR: 8366094: Sealed graph for nested types creates broken links [v2]
Hannes Wallnöfer
hannesw at openjdk.org
Tue Nov 4 16:17:54 UTC 2025
> Please review a change to fix broken links in sealed type hierarchy graphs for nested types. The problem is that enclosing types are included in the path of the graph file and therefore must have a matching `../` in the generated link.
>
> Fixed graphs for some nested sealed types:
> - [ClassFile.Option](https://cr.openjdk.org/~hannesw/8366094/api.00/java.base/java/lang/classfile/ClassFile.Option.html)
> - [Signature.RefTypeSig](https://cr.openjdk.org/~hannesw/8366094/api.00/java.base/java/lang/classfile/Signature.RefTypeSig.html)
> - [TypeAnnotation.TargetInfo](https://cr.openjdk.org/~hannesw/8366094/api.00/java.base/java/lang/classfile/TypeAnnotation.TargetInfo.html)
>
> There is currently no test coverage for the sealed graph taglet. I tested the fix manually, a test should be added with [JDK-8366828](https://bugs.openjdk.org/browse/JDK-8366828).
Hannes Wallnöfer has updated the pull request incrementally with one additional commit since the last revision:
Update copyright year
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28134/files
- new: https://git.openjdk.org/jdk/pull/28134/files/c5f60cc6..eb3c1ec3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28134&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28134&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/28134.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28134/head:pull/28134
PR: https://git.openjdk.org/jdk/pull/28134
More information about the javadoc-dev
mailing list