Sealed graph for nested types creates broken links

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 20
    • Component/s: tools
    • b25
    • generic
    • generic

      The SVG files created for sealed nested types creates invalid links.

      For example see the sealed graph for ClassFile.Option:
      https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/classfile/ClassFile/Option-sealed-graph.svg

      Clicking on AttributeMapperOption leads to:
      https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/java/lang/classfile/ClassFile.AttributeMapperOption.html

      But it should lead to:
      https://docs.oracle.com/en/java/javase/24/docs/api/java.base/java/lang/classfile/ClassFile.AttributeMapperOption.html

      This is similar to JDK-8317937, but the nested class is the origin of the link, not its target.

            Assignee:
            Hannes Wallnoefer
            Reporter:
            Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: