Details

    Backports

      Description

        Something like
        diff --git a/test/jdk/sun/management/jdp/DynamicLauncher.java b/test/jdk/sun/management/jdp/DynamicLauncher.java
        index 73223f2a178..fdafe7ebc70 100644
        --- a/test/jdk/sun/management/jdp/DynamicLauncher.java
        +++ b/test/jdk/sun/management/jdp/DynamicLauncher.java
        @@ -67,7 +67,7 @@ protected void run() throws Exception {
         
             protected OutputAnalyzer runVM() throws Exception {
                 String[] options = this.options();
        - ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(options);
        + ProcessBuilder pb = ProcessTools.createTestJvm(options);
                 OutputAnalyzer out = ProcessTools.executeProcess(pb);
                 System.out.println(out.getStdout());
                 System.err.println(out.getStderr());


        is needed to used tested VM flags.
        Tests:
        sun/management/jdp/JdpDefaultsTest.java
        sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
        sun/management/jdp/JdpOffTest.java
        sun/management/jdp/JdpSpecificAddressTest.java

        Attachments

          Issue Links

            Activity

              People

                lmesnik Leonid Mesnik
                lmesnik Leonid Mesnik
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: