You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/05/16 18:23:00 UTC

[jira] [Created] (MSHARED-1073) Shared classloader in embedded launcher

Slawomir Jaranowski created MSHARED-1073:
--------------------------------------------

             Summary: Shared classloader in embedded launcher
                 Key: MSHARED-1073
                 URL: https://issues.apache.org/jira/browse/MSHARED-1073
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-verifier
            Reporter: Slawomir Jaranowski


{{Verifier}} has defined reference to launcher in static field:

{code}
    private static MavenLauncher embeddedLauncher;
{code}

so embeddedLauncher use the same clasloader for all tests,
it can cause that static fields initialized in one test are used by other.




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