Integrated: 8366094: Sealed graph for nested types creates broken links

Hannes Wallnöfer hannesw at openjdk.org
Tue Nov 18 16:55:51 UTC 2025


On Tue, 4 Nov 2025 15:28:27 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> Please review a change to fix broken links in sealed type hierarchy graphs for nested types. The problem is that SVG files for nested types use the names of enclosing types as parent directories. Therefore, links from nested type SVGs  must have a matching `../` for each enclosing type. 
> 
> 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).

This pull request has now been integrated.

Changeset: ac6f5e96
Author:    Hannes Wallnöfer <hannesw at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ac6f5e96512a7f003ac536611c53f2564ea912a6
Stats:     7 lines in 1 file changed: 2 ins; 2 del; 3 mod

8366094: Sealed graph for nested types creates broken links

Reviewed-by: liach

-------------

PR: https://git.openjdk.org/jdk/pull/28134


More information about the build-dev mailing list