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

same class realm registered both with plugin and extensions realm caches

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.2.6, 3.3.3
    • Component/s: Class Loading, Embedding
    • Labels:
      None

      Description

      This is a regression introduced by fix for MNG-5742. Although there is only one realm for plugins with extensions=true now, the realm is registered with both plugin realm and extensions realm caches. This make it impossible to properly dispose of unused realms when maven is embedded in a long-running application like m2e or maven shell.

        Attachments

          Activity

            People

            • Assignee:
              igorfie igorfie
              Reporter:
              igorf Igor Fedorenko
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: