-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
22, 23
The tests should fork new VM using options set by jtreg or be marked as vm.flagless. This bug is an umbrella issue to track all such tests in the corelibs area.
The fix is usually to change ProcessTools.createLimitedTestJavaProcessBuilder(..) or new ProcessBuilder() to
ProcessTools.createTestJavaProcessBuilder(..)
The tests that shouldn't be executed with additional options needs to be marked with
@requires vm.flagless
The order of jtreg tags is:
@test
@bug
@summary
@key
@requires
...
Please feel free to change subcomponent/any other parameters in the sub-tasks.
The fix is usually to change ProcessTools.createLimitedTestJavaProcessBuilder(..) or new ProcessBuilder() to
ProcessTools.createTestJavaProcessBuilder(..)
The tests that shouldn't be executed with additional options needs to be marked with
@requires vm.flagless
The order of jtreg tags is:
@test
@bug
@summary
@key
@requires
...
Please feel free to change subcomponent/any other parameters in the sub-tasks.
- relates to
-
JDK-8314823 Update or mark as vm.flagless tests that ignore external VM flags
- Open
-
JDK-8319575 A lot of tools (jlink, jpackage, launcher) tests ignore VM flags.
- Open