-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.1.8
-
generic
-
generic
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)
======================================================================
- duplicates
-
JDK-4117451 javadoc in JDK1.2 generates incorrect "overrides" message
-
- Closed
-