compiler fails to flag an enum abstract

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: tools
    • b56
    • generic
    • solaris_8

      enum A implements I {
          toto {
              public void m() {
              }
          }
      }

      interface I {
          void m();
      }

      A.java:1: A is not abstract and does not override abstract method m() in I
      enum A implements I {
      ^

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: