|
|
Re: PropSuite gives RuntimeException in scalac
|
Posted: Sep 4, 2008 12:27 AM
|
|
> I'll recompile the current ScalaTest release > under the latest release candidate Scala compiler, and > release a new JAR.
I did a checkout of the 0.9.3 branch and tried to compile it with scala 2.7.1 myself. I get a compile error:
[scalac] Compiling 45 source files to /home/jvb/javaprj/jvb/scalatest/tags/release-0.9.3/app/build/jar_contents [scalac] /home/jvb/javaprj/jvb/scalatest/tags/release-0.9.3/app/src/org/scalatest/tools/ SuiteRunner.scala:30: error: type mismatch; [scalac] found : java.lang.reflect.Constructor[?0] where type ?0 [scalac] required: java.lang.reflect.Constructor[_$1] forSome { type _$1 <: AnyRef } [scalac] val constructor: Constructor[_ <: AnyRef] = suite.getClass.getConstructor(Array[java.lang.Class[_]]()) [scalac] ^ [scalac] one error found
So then I thought, lets give it a try with scala-2.6.1-final... Same problem. Now I'm confused...
This is all on ubuntu linux, with java 1.6.0_07... if that would matter.
|
|