[jdk19] RFR: 8289486: Improve XSLT XPath operators count efficiency
Naoto Sato
naoto at openjdk.org
Tue Jul 5 17:57:31 UTC 2022
On Fri, 1 Jul 2022 17:04:10 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.
Thanks for the explanation. Looks good to me.
-------------
Marked as reviewed by naoto (Reviewer).
PR: https://git.openjdk.org/jdk19/pull/101
More information about the core-libs-dev
mailing list