Test thread factory is a mode similar to VM flags and should not be used in 
ProcessTools.createLimitedTestJavaProcessBuilder(). Only 
createTestJavaProcessBuilder() should use it like jtreg VM options.

Adding the test thread factory requires the injection of arguments in the 
middle of the list. I don't think it makes sense to modify arguments in several 
places so I replaced it with the flag isLimited and moved all modifications in 
createJavaProcessBuilder().

Testing tier1-5.

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

Commit messages:
 - Moved ttf from limited builder.

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

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

Reply via email to