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

compiler allows unimplementable interfaces

XMLWordPrintable

    • mantis
    • generic
    • solaris_8
    • Verified

      The following code is forbidden by JLS2 (8.4.6.4) yet accepted by javac

      interface A {
          B f();
      }
      interface B {
          C f();
      }
      interface C extends A,B {
      }

            gafter Neal Gafter (Inactive)
            gafter Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: