[fedora-java] New build failure

Orion Poplawski orion at cora.nwra.com
Thu Feb 19 17:34:08 UTC 2009


gridengine 6.2-5 built fine on F-10 back in November 
(http://koji.fedoraproject.org/koji/buildinfo?buildID=70140) but now 
fails (http://koji.fedoraproject.org/koji/taskinfo?taskID=1140261)

Error is:

      [java] compile.test:
      [java]     [mkdir] Created dir: 
/builddir/build/BUILD/gridengine/source/CLASSES/test
      [java]     [javac] Compiling 18 source files to 
/builddir/build/BUILD/gridengine/source/CLASSES/test
      [java]     [javac] 
/builddir/build/BUILD/gridengine/source/libs/jdrmaa/test/DrmaaSuite.java:25: 
incompatible types
      [java]     [javac] found   : junit.framework.TestSuite
      [java]     [javac] required: Test
      [java]     [javac]       return suite;
      [java]     [javac]              ^
      [java]     [javac] 1 error


The junit versions seems to be the same (3.8.2-4.4.fc10), but java is 
newer (1.6.0.0-2b12 -> 1.6.0.0-9.b14).

Source is:

import junit.framework.*;

/**
  *
  * @author dan.templeton at sun.com
  */
public class DrmaaSuite extends TestCase {

    public DrmaaSuite (java.lang.String testName) {
       super (testName);
    }

    /** suite method automatically generated by JUnit module */
    public static Test suite () {
       TestSuite suite = new TestSuite ("DrmaaSuite");
       suite.addTest (org.ggf.drmaa.DrmaaSuite.suite ());
       suite.addTest (com.sun.grid.drmaa.DrmaaSuite.suite ());
       return suite;
    }
}


Help?

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion at cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com




More information about the java-devel mailing list