Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
8248306: gc/stress/gclocker/ does n…
…ot compile

Update the test to use the method suggested in JDK-8244010.

Reviewed-by: kbarrett
  • Loading branch information
Thomas Schatzl committed Jul 3, 2020
1 parent 5cf3316 commit 6c89a9653e8302ba557b8802746691b28180c673
Showing 1 changed file with 1 addition and 3 deletions.
@@ -174,9 +174,7 @@ public static void main(String args[]) throws Exception {

// 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);
//System.out.println("------------- begin stdout ----------------");

0 comments on commit 6c89a96

Please sign in to comment.