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

Yuri Nesterenko yan at openjdk.java.net
Mon May 16 10:02:33 UTC 2022


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.

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

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

Changes: https://git.openjdk.java.net/jdk7u/pull/3/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk7u&pr=3&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8285726
  Stats: 19 lines in 1 file changed: 8 ins; 0 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk7u/pull/3.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk7u pull/3/head:pull/3

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


More information about the jdk7u-dev mailing list