You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2022/04/24 08:10:00 UTC

[jira] [Commented] (MNG-7402) BuildListCalculator never detaches the classloader

    [ https://issues.apache.org/jira/browse/MNG-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17527100#comment-17527100 ] 

Hudson commented on MNG-7402:
-----------------------------

Build failed in Jenkins: Maven » Maven TLP » maven » MNG-7457 #2

See https://ci-maven.apache.org/job/Maven/job/maven-box/job/maven/job/MNG-7457/2/

> BuildListCalculator never detaches the classloader
> --------------------------------------------------
>
>                 Key: MNG-7402
>                 URL: https://issues.apache.org/jira/browse/MNG-7402
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.8.4
>            Reporter: Christoph Läubrich
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 3.8.5, 4.0.0-alpha-1, 4.0.0
>
>
> https://github.com/apache/maven/blob/6b607109d3ce045106924139e96705fe7c42172e/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java#L63
> Her there is attachToThread called but never detached. This seems to be a leak, at least the threads current contextclassloader is never restored.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)