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

Types.directSupertypes shouldn't include java.lang.Object for some interfaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 21
    • core-libs
    • None

      The list returned from Types.directSupertypes(x) for an interface type x should include java.lang.Object iff x has no superinterfaces.

      The implementation currently violates that by returning a list that contains java.lang.Object for an interface that has superinterfaces.

            darcy Joe Darcy
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: