Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
P3
-
Resolution: Not an Issue
-
Affects Version/s: 8
-
Fix Version/s: None
-
Component/s: tools
-
Labels:
-
Subcomponent:
Description
Let's compile JDK with doclint turned on.
We see 2 errors on Path2D class (2D subcomponent):
/export/doclint/jdk/src/share/classes/java/awt/geom/Path2D.java:1931: error: unexpected text
/export/doclint/jdk/src/share/classes/java/awt/geom/Path2D.java:1933: error: unexpected text
Let's look at these two lines:
1931: * {@link Path2D.Float#Path2D.Float(Shape, AffineTransform) Path2D.Float}
1933: * {@link Path2D.Double#Path2D.Double(Shape, AffineTransform) Path2D.Double}
We see that these two lines creates two valid links into overloaded constructor of 2 Path2D subclasses: Path2D.Float and Path2D.Double.
I believe it is wrong behavior and should be fixed.
We see 2 errors on Path2D class (2D subcomponent):
/export/doclint/jdk/src/share/classes/java/awt/geom/Path2D.java:1931: error: unexpected text
/export/doclint/jdk/src/share/classes/java/awt/geom/Path2D.java:1933: error: unexpected text
Let's look at these two lines:
1931: * {@link Path2D.Float#Path2D.Float(Shape, AffineTransform) Path2D.Float}
1933: * {@link Path2D.Double#Path2D.Double(Shape, AffineTransform) Path2D.Double}
We see that these two lines creates two valid links into overloaded constructor of 2 Path2D subclasses: Path2D.Float and Path2D.Double.
I believe it is wrong behavior and should be fixed.
Attachments
Issue Links
- relates to
-
JDK-8025524 javadoc does not correctly locate constructors for nested classes
-
- Closed
-