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

Runtime: Add Diagnostic Command that prints supertypes of a given type

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 10
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:

      Description

      8054888 is an rfe to print superclass hierarchy - either starting with java.lang.Object, or potentially
      starting at a specified class or interface and looking to see what inherits from it.

      This request is the inverse - which is to start at a given type (class or interface) and find
      out what superclasses and superinterface it inherits from, including the hierarchy, so that
      if a superinterface is inherited via a superclass rather than directly, that information would
      be available.

      I would suggest that the information printed would include both class name and defining loader
      information.

      Ok to wait for feedback on 8054888 or requests from others before implementing this. i.e. to mark jdk10.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                acorn Karen Kinnear (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: