Please review this "REDO" change. Thanks!

**Description:**

JDK-8387729(PR #31928)  added support for whitespace-separated values for 
several long options. The change was backed out after some tests failed with 
`JTREG_TEST_THREAD_FACTORY=Virtual`.

**Solution:**

Add the affected long options to `doubleWordArgs` so that `ProcessTools` 
correctly handles their whitespace-separated values when 
`JTREG_TEST_THREAD_FACTORY=Virtual` is used.

**Test:**

- GHA
- Tier1 with `JTREG_TEST_THREAD_FACTORY=Virtual`
- The following tests with and without `JTREG_TEST_THREAD_FACTORY=Virtual`:
  - `test/jdk/java/foreign/enablenativeaccess/TestEnableNativeAccess.java`
  - `test/jdk/java/lang/Object/FinalizationOption.java`
  - `test/jdk/java/lang/Object/InvalidFinalizationOption.java`
  - `test/jdk/java/lang/reflect/Field/mutateFinals/cli/CommandLineTest.java`
  - `test/jdk/sun/misc/UnsafeMemoryAccessWarnings.java`



---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - Fix JDK-8391329

Changes: https://git.openjdk.org/jdk/pull/32590/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32590&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8391329
  Stats: 241 lines in 7 files changed: 153 ins; 1 del; 87 mod
  Patch: https://git.openjdk.org/jdk/pull/32590.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/32590/head:pull/32590

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

Reply via email to