Integrated: JDK-8261203: Incorrectly escaped javadoc html with type annotations

Jonathan Gibbons jjg at openjdk.java.net
Thu Feb 25 15:40:46 UTC 2021


On Thu, 25 Feb 2021 00:02:51 GMT, Jonathan Gibbons <jjg 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.

This pull request has now been integrated.

Changeset: 674be87d
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/674be87d
Stats:     88 lines in 2 files changed: 86 ins; 0 del; 2 mod

8261203: Incorrectly escaped javadoc html with type annotations

Reviewed-by: hannesw

-------------

PR: https://git.openjdk.java.net/jdk/pull/2719


More information about the javadoc-dev mailing list