maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] (MSHARED-295) Non reliable killing of processes by CommandLineUtils
Date Tue, 10 Sep 2013 06:09:53 GMT

    [ https://jira.codehaus.org/browse/MSHARED-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=332601#comment-332601
] 

Kristian Rosenvold commented on MSHARED-295:
--------------------------------------------

I have no problem with going platform specific like JNI or forking a shell command as long
as it "just works". But I don't think we want JNA as a dependency here.

This does not sound like an extension point we really want.

If you make a patch I'll review it :)

                
> Non reliable killing of processes by CommandLineUtils
> -----------------------------------------------------
>
>                 Key: MSHARED-295
>                 URL: https://jira.codehaus.org/browse/MSHARED-295
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-shared-utils
>            Reporter: Andrey Klochkov
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message