8167001: [TESTBUG] java/lang/instrument/DaemonThread/TestDaemonThread.java fails when run by jprt
Force classpath to be added to subprocesses Reviewed-by: dholmes, sspitsyn
This commit is contained in:
parent
302ec8438f
commit
42c24a144c
@ -29,7 +29,7 @@ import jdk.testlibrary.ProcessTools;
|
||||
public class TestDaemonThreadLauncher {
|
||||
public static void main(String args[]) throws Exception {
|
||||
for(int i=0; i<50; i++) {
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-javaagent:DummyAgent.jar", "TestDaemonThread", ".");
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(true, "-javaagent:DummyAgent.jar", "TestDaemonThread", ".");
|
||||
OutputAnalyzer analyzer = ProcessTools.executeProcess(pb);
|
||||
analyzer.shouldNotContain("ASSERTION FAILED");
|
||||
analyzer.shouldHaveExitValue(0);
|
||||
|
Loading…
Reference in New Issue
Block a user