o signatures in surefire changed, but i have everything on my machine so

the problems don't show up until beaver time.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163124 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-09-20 03:46:53 +00:00
parent ba64bcb3ce
commit 212d3b3d24
1 changed files with 2 additions and 2 deletions

View File

@ -61,13 +61,13 @@ public class SurefireBooter
Object batteryExecutor = batteryExecutorClass.newInstance(); Object batteryExecutor = batteryExecutorClass.newInstance();
Method run = batteryExecutorClass.getMethod( "run", new Class[] { List.class, List.class, ClassLoader.class } ); Method run = batteryExecutorClass.getMethod( "run", new Class[] { List.class, List.class, ClassLoader.class, String.class } );
ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader(); ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
Thread.currentThread().setContextClassLoader( surefireClassLoader ); Thread.currentThread().setContextClassLoader( surefireClassLoader );
Boolean result = (Boolean) run.invoke( batteryExecutor, new Object[]{ reports, batteries, surefireClassLoader } ); Boolean result = (Boolean) run.invoke( batteryExecutor, new Object[]{ reports, batteries, surefireClassLoader, "dummy" } );
Thread.currentThread().setContextClassLoader( oldContextClassLoader ); Thread.currentThread().setContextClassLoader( oldContextClassLoader );