|
Quick Lists
|
|
Bug ID:
|
4318787
|
|
Votes
|
0
|
|
Synopsis
|
stddoclet: Doc inherited from abstr method uses"overrides"instead of"implements"
|
|
Category
|
doclet:tbd
|
|
Reported Against
|
kestrel
|
|
Release Fixed
|
1.4(merlin-beta)
|
|
State
|
10-Fix Delivered,
Verified,
bug
|
|
Priority:
|
4-Low
|
|
Related Bugs
|
|
|
Submit Date
|
03-MAR-2000
|
|
Description
|
When inheriting documentation from an abstract method in an abstract class (not an interface), javadoc produces text saying that the implementation "overrides" the abstract method. The specification for re-use of method comments in the javadoc documentation ignores the case of abstract methods, but the usage is certainly not consistent with the definition of "overrides" and "implements" in the Java Language Specification, section 6.4.2. According to that definition, the correct term to use is "implements".
See http://java.sun.com/products/jdk/1.2/docs/api/java/util/PropertyResourceBundle.html#handleGetObject(java.lang.String) for an example (yes, the description taken from the source file has the same bug...).
|
|
Work Around
|
N/A
|
|
Evaluation
|
This bug has been fixed. If a method implements an abstract method, it is documented appropriately.
Location of Fix:
MethodSubWriter.printOverridden()
xxxxx@xxxxx 2001-02-01
Easy fix. Just change a string.
xxxxx@xxxxx 2000-09-07
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |