Uploaded image for project: 'Maven Shared Components'
  1. Maven Shared Components
  2. MSHARED-1073

Shared classloader in embedded launcher

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Verifier has defined reference to launcher in static field:

          private static MavenLauncher embeddedLauncher;
      

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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sjaranowski Slawomir Jaranowski
            sjaranowski Slawomir Jaranowski

            Dates

              Created:
              Updated:

              Slack

                Issue deployment