'javadoc -public' generates 'Overrides' statement for protected method

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.1.8
    • Component/s: tools



      Name: vi73552 Date: 06/14/99


      This is similar to bug # 4117451.

      I have 2 classes. Class A contains a public method (P) that
      inherits from a protected method (X) in class B. I generate
      javadoc using:
      'javadoc -public -version -sourcepath.....'.

      The javadoc for class B (correctly) does not include the
      protected method X.
      The javadoc for class A documents the public method P as:
       "Overrides:
            method X in class B"
      and provides a link to class B which (as stated above) does NOT
      include documentation for method X.

      This is very confusing for users.
      I suspect that protected methods should not be referred to at all
      if the '-public' option is used.
      (Review ID: 84316)
      ======================================================================

            Assignee:
            Atul Dambalkar (Inactive)
            Reporter:
            Vassili Igouchkine (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: