RFR: 8345503: Test EnableNativeAccessCDS.java fails with TEST_THREAD_FACTORY=Virtual

Matias Saavedra Silva matsaave at openjdk.org
Wed Dec 4 18:48:58 UTC 2024


The JTREG option `TEST_THREAD_FACTORY=Virtual` injects command line arguments into the test and may separate an option from its arguments. In this case, the option was being placed between `--enable-native-access` and it's argument `java.base`. This patch joins the option and argument together to avoid the issue.

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

Commit messages:
 - 8345503: Test EnableNativeAccessCDS.java fails with TEST_THREAD_FACTORY=Virtual

Changes: https://git.openjdk.org/jdk/pull/22555/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22555&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8345503
  Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/22555.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22555/head:pull/22555

PR: https://git.openjdk.org/jdk/pull/22555


More information about the hotspot-runtime-dev mailing list