Deepak Bhole wrote:
Took a bit of digging, but found the problem. The issue is that wrong
classes are being seen by the compiler.
junit.framework.TestSuite implements the interface junit.framework.Test.
This worked before with the code below because the only "Test" seen by
the compiler before was from junit.framework.*.
However, F10 now has rhino 1.7, which has a "Test" class as well (with
no package hierarchy). Rhino ends up in the classpath during compile,
and the compiler chooses it's Test class, which is not the interface
implemented by junit.framework.TestSuite. This is why it is best
practice to import full paths rather than .* . The correct fix here is to
patch DrmaaSuite.java to remove the junit.framework.* import and add:
Excellent! Thank you! Bug filed upstream....
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com