-
Bug
-
Resolution: Fixed
-
P3
-
10
-
b24
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8225912 | 14 | Robert Field | P3 | Resolved | Fixed | team |
Some of the @jls tgas are not in tag position at the end of the comment.
Jon wrote --
We recently changed the support for the @jls tag, and I note that it conflicts with a style of usage that we did not detect previously with line-based tools (i.e. grep.)
This is one of a few similar occurrences in Snippet.java
* @jls 8.3 Field Declarations
* <P>
* A variable declaration is {@linkplain Kind#isPersistent() persistent}.
The problem is that as it currently stands, the @jls tag will detect the 8.3 and then attempt to put a`<a href=...>` ... `</a>` aound the rest of the content. That's bad in this case, because you can't have `<P>` inside `<a>`.
Jon wrote --
We recently changed the support for the @jls tag, and I note that it conflicts with a style of usage that we did not detect previously with line-based tools (i.e. grep.)
This is one of a few similar occurrences in Snippet.java
* @jls 8.3 Field Declarations
* <P>
* A variable declaration is {@linkplain Kind#isPersistent() persistent}.
The problem is that as it currently stands, the @jls tag will detect the 8.3 and then attempt to put a`<a href=...>` ... `</a>` aound the rest of the content. That's bad in this case, because you can't have `<P>` inside `<a>`.
- backported by
-
JDK-8225912 JShell API: Fix position of @jls tag
-
- Resolved
-