-
Bug
-
Resolution: Fixed
-
P3
-
10
-
b27
-
generic
-
generic
For the code below the javadoc tool will generate the same id attribute for a different elements. In the code take a look to the name of the method "public void EditorContainer()"
======================
package javadoc;
/**
* Some description....
*/
public class SomeClass {
/**
* Some description....
*/
public class EditorContainer {
/**
* Some description....
*/
public EditorContainer() {
}
/**
* Some description....
*/
public void EditorContainer() {
}
}
}
======================
The link for convenience
http://cr.openjdk.java.net/~serb/tmp/reuse_id/doc/javadoc/SomeClass.EditorContainer.html
Note these html parts:
<h3>Constructor Detail</h3>
<a name="EditorContainer--">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="EditorContainer--">
<!-- -->
</a>
Of course this is the corner case, but it is exists in the Swing. So I cannot fully clean the tidy warnings.
======================
package javadoc;
/**
* Some description....
*/
public class SomeClass {
/**
* Some description....
*/
public class EditorContainer {
/**
* Some description....
*/
public EditorContainer() {
}
/**
* Some description....
*/
public void EditorContainer() {
}
}
}
======================
The link for convenience
http://cr.openjdk.java.net/~serb/tmp/reuse_id/doc/javadoc/SomeClass.EditorContainer.html
Note these html parts:
<h3>Constructor Detail</h3>
<a name="EditorContainer--">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="EditorContainer--">
<!-- -->
</a>
Of course this is the corner case, but it is exists in the Swing. So I cannot fully clean the tidy warnings.