[ http://issues.apache.org/jira/browse/SANDBOX-109?page=all ]
Henri Yandell updated SANDBOX-109: ---------------------------------- Component: Exec > [exec] potential threading issue when closing process.getInputStream() > ---------------------------------------------------------------------- > > Key: SANDBOX-109 > URL: http://issues.apache.org/jira/browse/SANDBOX-109 > Project: Commons Sandbox > Type: Bug > Components: Exec > 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]