Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4668035
Votes 0
Synopsis stddoclet: Mistakenly documents hidden private method as being overridden
Category doclet:tbd
Reported Against 1.4.0_00
Release Fixed
State 11-Closed, duplicate of 4634891, bug
Priority: 3-Medium
Related Bugs 4634891
Submit Date 15-APR-2002
Description
Javadoc mistakenly documents private methods that are hidden by
public methods as being overridden.

java.awt.Window.createBufferStrategy(int) is a public method that
is documented on the page below to "override" a private method 
of the same name in java.awt.Component:

http://java.sun.com/j2se/1.4/docs/api/java/awt/Window.html#createBufferStrategy(int)

Of course, a private method cannot be overridden -- it can only be hidden.
This documented override appears as a broken link:

  Overrides:
     <a>createBufferStrategy</a> in class Component

Where <a> represents a broken link to the private method.

Javadoc should not generate this override statement.
Work Around
N/A
Evaluation
Josh concurs with the solution for Javadoc to not generate the override statement, as it is not an override.
  xxxxx@xxxxx   2002-04-14
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang