On Wed, 20 Apr 2022 21:53:46 GMT, Joe Wang <jo...@openjdk.org> wrote:

>> Patch note:
>> 
>> A previous patch had a bug that missed the boundary check, that will cause 
>> StringIndexOutOfBoundsException to be thrown instead of 
>> XPathExpressionException as expected.
>>     
>> Fix: the fix is to check the boundaries of the parameter "index". 
>> Objects.checkIndex is removed as it's redundant.
>
> Joe Wang has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   add the test

Marked as reviewed by lancea (Reviewer).

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

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

Reply via email to