Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7402

BuildListCalculator never detaches the classloader

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.8.4
    • 3.8.5, 4.0.0-alpha-2, 4.0.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              laeubi Christoph Läubrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: