Ivan
Ivan

Reputation: 64227

Do Scala 2.8.1 and SBT work ok with JDK 7?

Aren't Scala 2.8.1 compiler, applications built with it, Sbt 1.7.4/1.7.5RC and Scala 2.7.7 (needed to run Sbt) known to have any problems running with a current alpha of OpenJDK 7?

Upvotes: 5

Views: 1410

Answers (2)

psp
psp

Reputation: 12158

There are issues, mostly with swing because they took some formerly non-generic types and gave them type parameters. Scala is not big on this sort of thing.

I ported trunk to a recent version of openjdk here: https://github.com/scala/scala/tree/openjdk

There was one bit I had to disable until I get a compiler fix, which is documented here: https://lampsvn.epfl.ch/trac/scala/ticket/3634

Upvotes: 5

Erik Engbrecht
Erik Engbrecht

Reputation: 3164

People frequently post benchmark results for Scala using OpenJDK 7 to the mailing list, and backwards compatibility is always a huge, overpowering concern with Java, so I think everything works fine.

Upvotes: 1

Related Questions