You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2007/05/15 04:17:12 UTC

[jira] Closed: (MNG-2985) DefaultWagonManager does not safely remove TransferListeners from the wagon

     [ http://jira.codehaus.org/browse/MNG-2985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Sanchez closed MNG-2985.
-------------------------------

         Assignee: Carlos Sanchez
       Resolution: Fixed
    Fix Version/s: 2.1-alpha-1

Applied with some refactorings

> DefaultWagonManager does not safely remove TransferListeners from the wagon
> ---------------------------------------------------------------------------
>
>                 Key: MNG-2985
>                 URL: http://jira.codehaus.org/browse/MNG-2985
>             Project: Maven 2
>          Issue Type: Bug
>    Affects Versions: 2.1-alpha-1
>         Environment: osx intel, java 5
>            Reporter: Abel MuiƱo
>            Assignee: Carlos Sanchez
>             Fix For: 2.1-alpha-1
>
>         Attachments: MNG-2985-maven-artifact.patch, MNG-2985-maven-artifact.patch, MNG-2985-maven-artifact.with-license.patch
>
>
> The method "getRemoteFile()" registers several transfer listeners, but never removes them.
> The method "putRemoteFile()" might left transfer listeners registered if an exception is raised.
> The results is that executing those method repeteadly continously increments the number of listeners. When embedded, the problem is specially relevant (see http://jira.codehaus.org/browse/MNGECLIPSE-302).
> Attached is a patch with test cases. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira