RFR: 7172359: HTML parser StackOverflowError on invalid HTML: <li> tag inside an <option> [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Sep 28 13:54:16 UTC 2022


On Tue, 27 Sep 2022 18:19:02 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Return only if current tag is not valid in current context
>
> test/jdk/javax/swing/text/html/parser/ParserCrash.java line 35:
> 
>> 33: import java.io.Reader;
>> 34: 
>> 35: public class ParserCrash {
> 
> It is not a **crash**, it is `StackOverflowError`, a better name would be `ParserStackOverflow(InInvalidTagContext)`.

ok

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

PR: https://git.openjdk.org/jdk/pull/10279



More information about the client-libs-dev mailing list