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

Make 5 compiler tests use ProcessTools.executeProcess

XMLWordPrintable

    • b20

        Those compiler tests use plain 'new ProcessBuilder' and its start method:

        c2/Test7068051.java
        c2/unloaded/TestInlineUnloaded.java
        jsr292/NonInlinedCall/Agent.java
        profiling/spectrapredefineclass_classloaders/Launcher.java
        profiling/spectrapredefineclass/Launcher.java

        As stated in JDK-8174768, we try to have more information about started secondary processes and make the process more controllable. For example, we can identify tests that start processes by a simple modification of ProcessTools, but that 5 would avoid such a search.

        I suggest reworking them so that they use the ProcessTools.executeProcess.

              enikitin Evgeny Nikitin
              enikitin Evgeny Nikitin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: