Ivan Kelly created SUREFIRE-1476:

             Summary: useSystemClassLoader=false doesn't work as expected after 
                 Key: SUREFIRE-1476
                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1476
             Project: Maven Surefire
          Issue Type: Bug
            Reporter: Ivan Kelly

I have a test case where I want to load a bunch of jars in a custom 
classloader, and check that they are isolated from the classes in the 
classloader within which the test is running. This is for BC testing elsewhere 
in my code.





Run test in that module to see it work correctly. Change the surefire plugin to 
a newer version to see it fail. The problem seems to be that all dependencies 
are being added to the classpath of the forked processes, so no matter what 
happens, they are in the system class loader.

This message was sent by Atlassian JIRA

Reply via email to