You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/02/21 19:11: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=17495723#comment-17495723 ] 

Michael Osipov commented on MNG-7402:
-------------------------------------

Please propose a PR if you want to have it in 3.8.5.

> BuildListCalculator never detaches the classloader
> --------------------------------------------------
>
>                 Key: MNG-7402
>                 URL: https://issues.apache.org/jira/browse/MNG-7402
>             Project: Maven
>          Issue Type: Bug
>            Reporter: Christoph Läubrich
>            Priority: Major
>
> 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.1#820001)