Compiler thinks equals(Object) is abstract

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.3.0
    • Affects Version/s: 1.3.0
    • Component/s: tools
    • kestrel
    • generic
    • generic



      Name: skT88420 Date: 09/25/99


      Compiling this file results in 1 error saying equals (Object) is abstract.
      Clue: equals(Object) is declared in interface Collection.
      However, if you change "extends AbstractCollection" to
      "implements Collection" bug does not occur.

      import java.util.*;

      public abstract class AbstractTypedSet
      extends AbstractCollection
      {
        public boolean eqData (Object x) {
         return super.equals (x);
        }
      }
      (Review ID: 95730)
      ======================================================================

            Assignee:
            William Maddox (Inactive)
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: