maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mauro Talevi (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (SUREFIRE-335) forkMode = none is incompatible with useSystemClassLoader = true
Date Wed, 05 Dec 2007 08:36:58 GMT

     [ http://jira.codehaus.org/browse/SUREFIRE-335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mauro Talevi updated SUREFIRE-335:
----------------------------------

    Fix Version/s:     (was: 2.3.1)
                   2.3.2

Moving to 2.3.2

> forkMode = none is incompatible with useSystemClassLoader = true
> ----------------------------------------------------------------
>
>                 Key: SUREFIRE-335
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-335
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Brett Porter
>            Assignee: Brett Porter
>             Fix For: 2.3.2
>
>
> these options are obviously not compatible as the method of implementation of the latter
requires forking. An alternate implementation should be used that includes the system class
loader
> However, the following occurs in Archiva:
> Caused by: java.lang.ClassNotFoundException: org.apache.maven.archiva.configuration.ArchivaConfigurationTest
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>         at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
>         at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
>         at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
>         at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:87)
>         ... 27 more

-- 
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

        

Mime
View raw message