[jdk19] RFR: 8289486: Improve XSLT XPath operators count efficiency [v2]

Lance Andersen lancea at openjdk.org
Thu Jul 7 17:37:49 UTC 2022


On Thu, 7 Jul 2022 17:32:45 GMT, Joe Wang <joehw at openjdk.org> wrote:

>> To improve efficiency, this patch moves the limit check to within the Lexer and reports any overlimit situation as soon as it happens.
>> 
>> Note the change in XPathParser: diff (and also webrevs) showed the whole error-report block was changed, the actual change was only placing the block to within the isOverLimit statement.
>> 
>> Test: java.xml tests passed.
>
> Joe Wang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add comments

Marked as reviewed by lancea (Reviewer).

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

PR: https://git.openjdk.org/jdk19/pull/101


More information about the core-libs-dev mailing list