Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364338

Compilation failed in MonitorVmStartTerminate.java after JDK-8363899

XMLWordPrintable

    • master
    • generic

      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());

            abijlani Aarti Bijlani
            abijlani Aarti Bijlani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: