Scala 2.9 and FSC

Since RC1 of scala 2.9 I have tried to get my project to compile. I'm using the fsc and starting it via a run configuration. It works fine for 2.8 but I just can't get it to work with 2.9. I have tried several times on different installations. I've swapped the 2.8 libs in my project (and the facet) for the 2.9 ones. But I'm getting

Scalac internal error: class java.lang.NoSuchMethodException [java.lang.Class.getMethod(Class.java:1605), org.jetbrains.plugins.scala.compiler.rt.FastScalacRunner.main(FastScalacRunner.java:60)]java.lang.Class.getMethod(Class.java:1605)
org.jetbrains.plugins.scala.compiler.rt.FastScalacRunner.main(FastScalacRunner.java:60)

4 comments
Comment actions Permalink

It also doesn't work when not using fsc. I'm getting an internal error:

Compiler internal error. Process terminated with exit code 1

0
Comment actions Permalink

Setting the debug level to the highest crashes the compiler even for 2.8.1-final:

fatal error: object scala not found.

0
Comment actions Permalink

It seems compiler API was changes. It will be fixed soon.

Best regards,

0

Please sign in to leave a comment.