Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8248306: gc/stress/gclocker/TestExcessGCLockerCollections.java 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 20147c3 commit 83fff054980406fa93fb17976d67fc31102a9276
Showing 1 changed file with 1 addition and 3 deletions.
@@ -174,9 +174,7 @@ public static void main(String args[]) throws Exception {
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());

0 comments on commit 83fff05

Please sign in to comment.