8210108: sun/tools/jstatd test build failures after JDK-8210022
authoriignatyev
Tue, 28 Aug 2018 14:33:18 -0700
changeset 51550 a2f1923b3e16
parent 51549 f419dbb34719
child 51551 e409244ce72e
8210108: sun/tools/jstatd test build failures after JDK-8210022 Reviewed-by: cjplummer, jcbeyler, mikael
test/jdk/sun/tools/jstatd/JstatdTest.java
--- 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());