[jdk21u-dev] RFR: 8319673: Few security tests ignore VM flags

SendaoYan syan at openjdk.org
Fri Nov 8 09:02:55 UTC 2024


Hi all,

This pull request contains a backport of commit [43029006](https://github.com/openjdk/jdk/commit/430290066c23d09166a84f2f6f89e770c6ba04ff) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository. Backport parity with 21.0.5-oracle, the change has been verified, no risk.

The commit being backported was authored by Matthew Donovan on 29 Feb 2024 and was reviewed by Weijun Wang and Hai-May Chao.

The new API `Path resolve(String first, String... more)` was not supported in jdk21u-dev, so I change the line code from `COPY_JDK_DIR.resolve("bin", "java")` to `COPY_JDK_DIR.resolve("bin").resolve("java")` to avoid jdk21 javac genrate compile error, and make this backport uncleanly, all other parts are backport cleanly.

The change has been verified locally, test-fix only, no risk.

Thanks!

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

Commit messages:
 - Backport 430290066c23d09166a84f2f6f89e770c6ba04ff
 - 8319673: Few security tests ignore VM flags

Changes: https://git.openjdk.org/jdk21u-dev/pull/1142/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1142&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319673
  Stats: 49 lines in 3 files changed: 12 ins; 13 del; 24 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1142.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1142/head:pull/1142

PR: https://git.openjdk.org/jdk21u-dev/pull/1142


More information about the jdk-updates-dev mailing list