[ 
https://issues.apache.org/jira/browse/EXEC-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg moved SANDBOX-109 to EXEC-13:
---------------------------------------------

    Component/s:     (was: Exec)
            Key: EXEC-13  (was: SANDBOX-109)
        Project: Commons Exec  (was: Commons Sandbox)

> [exec] potential threading issue when closing process.getInputStream()
> ----------------------------------------------------------------------
>
>                 Key: EXEC-13
>                 URL: https://issues.apache.org/jira/browse/EXEC-13
>             Project: Commons Exec
>          Issue Type: Bug
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Jerome Lacoste
>
> When I started to look into finding common code between ant, plexus, m2 and
> cruisecontrol, I found a couple of differences that I think need to be merged
> back into commons-exec.
> In particular it seems like this plexus-util change [1] contains a threading 
> fix
> which should also be backported to commons-exec. I think we are hitting it now
> in CruiseControl in some rare cases: executed process is ant which forks and
> spawns a separate process. This makes getInputStream().close() hang, and I 
> think
> your change would fix it.
> I haven't yet worked on it, nor wrote a test case. Would appreciate input from
> trygvis as he's the one who made the fix for plexus.
> [1]
> http://svn.codehaus.org/trunk/plexus-utils/src/main/java/org/codehaus/plexus/util/cli/StreamPumper.java?rev=1298&root=plexus&view=rev

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to