As part of JDK-8363899, ProcessTools has moved from /jdk/testlibrary to /jdk/lib/ and ProcessTools.getOutput() is removed.
Hence , the corresponding import path has to change and the method ProcessTools.getOutput() has to be adapted accordingly.
This test was problemlisted. Hence, the test did not run and did not get caught. This needs to be corrected.
Test: jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java
Error :
1. package jdk.test.lib.process does not exist
import jdk.test.lib.process.ProcessTools;
2. jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java:329: error: cannot find symbol
OutputBuffer ob = ProcessTools.getOutput(pb.start());
Hence , the corresponding import path has to change and the method ProcessTools.getOutput() has to be adapted accordingly.
This test was problemlisted. Hence, the test did not run and did not get caught. This needs to be corrected.
Test: jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java
Error :
1. package jdk.test.lib.process does not exist
import jdk.test.lib.process.ProcessTools;
2. jdk/test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.java:329: error: cannot find symbol
OutputBuffer ob = ProcessTools.getOutput(pb.start());
- caused by
-
JDK-8363899 remove jdk.testlibrary.ProcessTools
-
- Resolved
-