-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 18
-
Component/s: tools
-
None
-
master
A part of a snippet text can not currently be both a link and highlighted.
In the following snippet, the method name will be a link, but not be highlighted.
{@snippet :
void name() {} // @link substring=name target=Object @highlight substring=name
}
The reason is that the code in SnippetTaglet#snippetTagOutput uses an if-else statement to create either a link or a highlight span.
In the following snippet, the method name will be a link, but not be highlighted.
{@snippet :
void name() {} // @link substring=name target=Object @highlight substring=name
}
The reason is that the code in SnippetTaglet#snippetTagOutput uses an if-else statement to create either a link or a highlight span.
- links to
-
Commit(master)
openjdk/jdk/0e6c7e86
-
Review(master)
openjdk/jdk/28354