`RuntimeArguments.java` runs with `@requires vm.flagless`, though setting the 
`test.thread.factory=Virtual` system property with `-D` will still run the test.

The test spawns java processes, checking for particular, exact sets of runtime 
options (hence, `vm.flagless`). It is not expecting to find 
`-Dtest.thread.factory=Virtual`.

It doesn't seem important that this test be run with the virtual thread 
factory. The suggestion of adding this test to `ProblemList-Virtual.txt`  seems 
reasonable. (It would be a long term resident of the problem list, which is 
perhaps a bit strange.)

Alternative courses of action:
* Teach the test itself to artificially pass in the presence of `-D` options.
* Enhance the test so it knows how to expect `-D` options; offhand that doesn't 
seem worth it.

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

Commit messages:
 - add VM/RuntimeArguments.java to ProblemList-Virtual.txt

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

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

Reply via email to