Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8302324

Inheritance tree does not show correct type parameters/arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 20
    • tools
    • None
    • b10
    • generic
    • generic

      The inheritance tree at the top of the type documentation page shows generic supertypes in the context of the local type. For instance, if a class extends java.util.HashSet<R> or java.util.HashSet<String>, R or String should be used in all generic collection superclasses of HashSet respectively.

      Currently, only the direct superclass shows the correct type parameter or argument, as can be seen here:

      https://docs.oracle.com/en/java/javase/19/docs/api/java.desktop/javax/print/attribute/standard/JobStateReasons.html

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: