On Thu, 24 Apr 2025 15:55:34 GMT, Nizar Benalla <nbena...@openjdk.org> wrote:

>> Please review this patch to fix a potential infinite loop in 
>> `JavadocTokenizer.ensure` when `map.length` and `size + need` approach 
>> Interger.MAX_VALUE.
>> 
>> While I couldn't reproduce the issue even with large inputs (~1.9GB java 
>> file where almost the entire file is one javadoc comment), the fix is about 
>> correctness and prevention of UB in extreme cases.
>> 
>> TIA
>
> Nizar Benalla has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   remove redundant overflow check

Thanks for the reviews Hannes, Chen, Vicente!

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

PR Comment: https://git.openjdk.org/jdk/pull/24620#issuecomment-2829980754

Reply via email to