8210108: sun/tools/jstatd test build failures after JDK-8210022
Reviewed-by: cjplummer, jcbeyler, mikael
--- a/test/jdk/sun/tools/jstatd/JstatdTest.java Tue Aug 28 07:30:36 2018 -0400
+++ b/test/jdk/sun/tools/jstatd/JstatdTest.java Tue Aug 28 14:33:18 2018 -0700
@@ -28,11 +28,11 @@
import java.rmi.registry.Registry;
import java.util.Arrays;
-import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.thread.ProcessThread;
import static jdk.testlibrary.Asserts.*;
import jdk.testlibrary.JDKToolLauncher;
import jdk.testlibrary.Utils;
+import jdk.testlibrary.OutputAnalyzer;
import jdk.testlibrary.ProcessTools;
/**
@@ -328,7 +328,7 @@
}
// Verify output from jstatd
- OutputAnalyzer output = jstatdThread.getOutput();
+ jdk.test.lib.process.OutputAnalyzer output = jstatdThread.getOutput();
assertTrue(output.getOutput().isEmpty(),
"jstatd should get an empty output, got: "
+ Utils.NEW_LINE + output.getOutput());