abstract private methods allowed

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.6
    • Component/s: tools
    • x86
    • windows_95



      Name: diC59631 Date: 06/17/98


      The compiler accepts abstract methods to be
      private while such methods, for certain, cannot
      be overridden by an actual implementation.

      abstract class Class1
      {
         protected int i;

         Class1()
         {
            i = 0;
         }

         protected void method1()
         {
            method2();
         }

         abstract private boolean method2();
      }
      (Review ID: 33787)
      ======================================================================

            Assignee:
            David Stoutamire (Inactive)
            Reporter:
            Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: