-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: tools
-
None
-
b06
HtmlDocletWriter.commentTagsToContent has a visitor that generates content trees that do not correctly support the charCount() method.
This is because DocTree StartElement is translated as
RawHtml: <name
Text: any attributes
RawHtml: >
When counting characters, because the attributes are modeled with a Text node, they are incorrectly included in the count.
It would be better to include all the content in a single well-structured node.
This is because DocTree StartElement is translated as
RawHtml: <name
Text: any attributes
RawHtml: >
When counting characters, because the attributes are modeled with a Text node, they are incorrectly included in the count.
It would be better to include all the content in a single well-structured node.
- blocks
-
JDK-8289332 Auto-generate ids for user-defined headings
-
- Resolved
-
- relates to
-
JDK-8288624 Cleanup CommentHelper.getText0
-
- Resolved
-