You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/05/16 18:34:00 UTC
[jira] [Commented] (MSHARED-1073) Shared classloader in embedded launcher
[ https://issues.apache.org/jira/browse/MSHARED-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17537717#comment-17537717 ]
Michael Osipov commented on MSHARED-1073:
-----------------------------------------
Nice finding!
> 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
>
> {{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)