Withdrawn: JDK-8267394: Do not rely on object identity for empty valid Content instance

Hannes Wallnöfer hannesw at openjdk.java.net
Sat Jun 5 06:59:02 UTC 2021


On Thu, 20 May 2021 14:31:33 GMT, Hannes Wallnöfer <hannesw at openjdk.org> wrote:

> This is a simple cleanup to replace the sentinel `HtmlTree.EMPTY` text constant with an instance that achieves the same by overriding `isValid()`. I think this is the nicer solution, and it allows us to remove the special case identity check in `HtmlTree.add(Content)`.

This pull request has been closed without being integrated.

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

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


More information about the javadoc-dev mailing list