[jdk7u] RFR: 8285726: [11u, 17u] Unify fix for JDK-8284548 with version from head

Andrew Brygin bae at openjdk.java.net
Mon May 16 11:57:59 UTC 2022


On Mon, 16 May 2022 09:53:10 GMT, Yuri Nesterenko <yan at 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.

Marked as reviewed by bae (Lead).

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

PR: https://git.openjdk.java.net/jdk7u/pull/3


More information about the jdk7u-dev mailing list