ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r1345827 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java
Date Mon, 04 Jun 2012 04:28:04 GMT
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;



Mime
View raw message