RFR: JDK-8261203: Incorrectly escaped javadoc html with type annotations
liach
github.com+7806504+liach at openjdk.java.net
Thu Feb 25 05:21:38 UTC 2021
On Thu, 25 Feb 2021 05:18:22 GMT, liach <github.com+7806504+liach at openjdk.org> wrote:
>> Please review a simple change to exclude type annotations from primitive types in the id generated for a method signature.
>>
>> There's a latent secondary issue, not addressed here, that quotes (`"`) in an attribute value are not escaped correctly. That could be fixed, separately, at the cost of checking every generated attribute value. For now, at least for ids, we can avoid this issue by constraining the set of attribute values, which for ids, is now easier, in the recently-new `HtmlIds` class.
>
> Marked as reviewed by liach at github.com (no known OpenJDK username).
As far as I see, currently, for all other types, the type annotations are not included as part of method's html anchor.
-------------
PR: https://git.openjdk.java.net/jdk/pull/2719
More information about the javadoc-dev
mailing list