Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-295

Non reliable killing of processes by CommandLineUtils

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • maven-shared-utils
    • None

    Description

      CommandLineUtils is used in Maven-Surefire to start forks which execute tests. It is a well known issue that sometimes child processes are not killed correctly. This is a known limitation of JVM, and the only reliable way to implement it would be platform specific.

      Bug report in Surefire JIRA:
      http://jira.codehaus.org/browse/SUREFIRE-773

      JVM bug report. It's Windows specific, but the problem exists on Linux and OSX as well.
      http://bugs.sun.com/view_bug.do?bug_id=4770092

      I'm proposing either 1) to implement several platform specific implementations of ProcessHook or 2) to make the mechanism of killing processes extendable for clients of the library.

      Attachments

        1. MSHARED-295-no-cmd.patch
          0.7 kB
          Frank Jakop
        2. MSHARED-295.patch
          11 kB

        Issue Links

          Activity

            People

              krosenvold Kristian Rosenvold
              aklochkov Andrey Klochkov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: