RFR: 8049347: HTMLDocument throws NPE for Block Tag

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Jun 16 03:10:19 UTC 2023


On Thu, 15 Jun 2023 22:32:32 GMT, Phil Race <prr at openjdk.org> wrote:

> I'm inclined to agree this looks like unfinished work. The original author seems to have thought block tags needed to be handled differently. I don't see any evidence this was never intended to be used by apps any more than much of the rest of the API.

Yes, I also think it so now that it probably will need a "BlockIterator" implementation as mentioned and calling `UnsupportedOperationException` may not be appropriate and it also does not seem right to update spec to mention the same which will cast in stone and might cause issue later on if we need to support it in future..

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

PR Comment: https://git.openjdk.org/jdk/pull/14466#issuecomment-1594025062



More information about the client-libs-dev mailing list