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

Cyclic extension bug

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.2.0
    • tools
    • None
    • generic
    • solaris_2.5.1

      The code

         interface X extends W{}
         class W implements X{}

      makes a stack overflow in 1.1.5, and

      sun.tools.java.CompilerError: checkMeet(), no abstract method
              at sun.tools.java.MemberDefinition.checkMeet(MemberDefinition.java:590)
              at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:1209)
              at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1337)
              at sun.tools.java.ClassDefinition.getInheritableMethods(ClassDefinition.java:1359)
              at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:1092)
              at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1337)
              at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1103)
              at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:122)
              at sun.tools.javac.SourceClass.checkSupers(SourceClass.java:774)
              at sun.tools.javac.SourceClass.resolveTypeStructure(SourceClass.java:1197)
              at sun.tools.javac.SourceClass.basicCheck(SourceClass.java:1050)
              at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:122)
              at sun.tools.javac.Main.compile(Main.java:345)
              at sun.tools.javac.Main.main(Main.java:571)

      in 1.2beta3.

            wmaddoxsunw William Maddox (Inactive)
            dstoutamsunw David Stoutamire (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: