From 212d3b3d249581a7426138220580afee127d8c3c Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Mon, 20 Sep 2004 03:46:53 +0000 Subject: [PATCH] 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 --- maven-mboot2/src/main/java/SurefireBooter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-mboot2/src/main/java/SurefireBooter.java b/maven-mboot2/src/main/java/SurefireBooter.java index b2e18f1c4c..d68eebcaf4 100644 --- a/maven-mboot2/src/main/java/SurefireBooter.java +++ b/maven-mboot2/src/main/java/SurefireBooter.java @@ -61,13 +61,13 @@ public class SurefireBooter 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(); 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 );