[
https://issues.apache.org/jira/browse/MNG-7402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MNG-7402.
-------------------------------
Fix Version/s: 4.0.0
4.0.0-alpha-1
3.8.5
(was: 4.0.x-candidate)
(was: 3.8.x-candidate)
Resolution: Fixed
Fixed with
[e327be3d85918a23a5ba48d752143a6dbf8b83f7|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=e327be3d85918a23a5ba48d752143a6dbf8b83f7]
and with
[d29af9018b5c80177102aaab96bd37ed5fedf26c|https://gitbox.apache.org/repos/asf?p=maven.git;a=commit;h=d29af9018b5c80177102aaab96bd37ed5fedf26c]
for {{maven-3.8.x}} branch.
> 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: 4.0.0, 4.0.0-alpha-1, 3.8.5
>
>
> 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)