8248306: gc/stress/gclocker/TestExcessGCLockerCollections.java does not compile
Update the test to use the method suggested in JDK-8244010. Reviewed-by: kbarrett
This commit is contained in:
parent
5cf33168d7
commit
6c89a9653e
@ -174,9 +174,7 @@ public class TestExcessGCLockerCollections {
|
||||
finalArgs.addAll(Arrays.asList(args));
|
||||
|
||||
// GC and other options obtained from test framework.
|
||||
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
|
||||
true, finalArgs);
|
||||
OutputAnalyzer output = new OutputAnalyzer(pb.start());
|
||||
OutputAnalyzer output = ProcessTools.executeTestJvm(finalArgs);
|
||||
output.shouldHaveExitValue(0);
|
||||
//System.out.println("------------- begin stdout ----------------");
|
||||
//System.out.println(output.getStdout());
|
||||
|
Loading…
Reference in New Issue
Block a user