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:59:00 UTC
[jira] [Updated] (MSHARED-1073) Shared classloader in embedded launcher
[ https://issues.apache.org/jira/browse/MSHARED-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Slawomir Jaranowski updated MSHARED-1073:
-----------------------------------------
Fix Version/s: maven-verifier-next-release
> 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
> Priority: Major
> Fix For: maven-verifier-next-release
>
>
> {{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)