To improve efficiency, this patch moves the limit check to within the Lexer and reports any overlimit situation as soon as it happens.
Test: java.xml tests passed. ------------- Commit messages: - 8289486: Improve XSLT XPath operators count effiency Changes: https://git.openjdk.org/jdk19/pull/101/files Webrev: https://webrevs.openjdk.org/?repo=jdk19&pr=101&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8289486 Stats: 49 lines in 2 files changed: 21 ins; 4 del; 24 mod Patch: https://git.openjdk.org/jdk19/pull/101.diff Fetch: git fetch https://git.openjdk.org/jdk19 pull/101/head:pull/101 PR: https://git.openjdk.org/jdk19/pull/101