Forking documentation improvement to help with class loader constrainst issues
------------------------------------------------------------------------------

         Key: MSUREFIRE-57
         URL: http://jira.codehaus.org/browse/MSUREFIRE-57
     Project: Maven 2.x Surefire Plugin
        Type: Bug

    Versions: 2.1.3    
 Environment: maven 2.0.2 
    Reporter: Ben Gidley
    Priority: Minor
 Attachments: maven-surefire-plugin-374325.patch

With (for example) JAXB2 forking surefire causes a 
java.lang.LinkageError: loader constraints violated when linking 
javax/xml/namespace/QName class

This is because by default when forking an Isolated class loader is used. this 
can be resovled by turning child delegation on. 

The documentation does not mention this and should be improved. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to