On Mon, 16 May 2022 09:53:10 GMT, Yuri Nesterenko <y...@openjdk.org> wrote:
> This fix is different from versions 8+: first, in Lexer.java there's no > LastModified and a usual copyright, so it is dropped from the change. Second, > a new XPathExceptionTest is hard to compile in 7: to run with jdk7 we'd need > an older than usual version of testng which, in turn, doesn't work with > asserts like that in the test, there are lambdas, and XPathExpression has no > used or similar method. Instead of of backporting the test, I'm doing a > simple change in existing one. > > Thus, test-only update change. Test pass. This pull request has now been integrated. Changeset: c83eb83f Author: Yuri Nesterenko <y...@openjdk.org> URL: https://git.openjdk.java.net/jdk7u/commit/c83eb83fcc33ba9ab6e6e783fe0e9acdbe0085c5 Stats: 19 lines in 1 file changed: 8 ins; 0 del; 11 mod 8285726: [11u, 17u] Unify fix for JDK-8284548 with version from head Reviewed-by: bae ------------- PR: https://git.openjdk.java.net/jdk7u/pull/3