You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2012/06/04 06:28:04 UTC

svn commit: r1345827 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

Author: bodewig
Date: Mon Jun  4 04:28:04 2012
New Revision: 1345827

URL: http://svn.apache.org/viewvc?rev=1345827&view=rev
Log:
wrong type in carargs array

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java?rev=1345827&r1=1345826&r2=1345827&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java Mon Jun  4 04:28:04 2012
@@ -396,7 +396,7 @@ public class JUnitTestRunner implements 
                     // if there is a suite method available, then try
                     // to extract the suite from it. If there is an error
                     // here it will be caught below and reported.
-                    suite = (Test) suiteMethod.invoke(null, new Class[0]);
+                    suite = (Test) suiteMethod.invoke(null, new Object[0]);
 
                 } else {
                     Class junit4TestAdapterClass = null;