-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
None
The sealed class hierarchy graph generates bad link for member classes, which drops the simple name of the outer classes; see the ValueLayout example:
https://download.java.net/java/early_access/jdk21/docs/api/java.base/java/lang/foreign/ValueLayout-sealed-graph.svg
In addition, if a subclass class is not enclosed in its sealed superclass, it's preferable to generate the qualified name (with outer class simple name but no package) as the text on the class node, like B.C extends A, then we shouldn't render A <- C, but should render A <- B.C instead.
https://download.java.net/java/early_access/jdk21/docs/api/java.base/java/lang/foreign/ValueLayout-sealed-graph.svg
In addition, if a subclass class is not enclosed in its sealed superclass, it's preferable to generate the qualified name (with outer class simple name but no package) as the text on the class node, like B.C extends A, then we shouldn't render A <- C, but should render A <- B.C instead.
- duplicates
-
JDK-8317937 @sealedGraph: Links to inner classes fails in links
- Resolved
- relates to
-
JDK-8300204 Sealed-class hierarchy graph missing nodes
- Resolved