It's finally here! The new stable release of Scala is ready for download: you can obtain the new Scala 2.7.2.final from our Download Page . Many thanks to all those who contributed code, energy, and time towards this release, and helped us with testing and bug fixing. The matching Scala plugin for Eclipse is also available for download via the Eclipse software update facility (more information here ).
The following features are new to the 2.7.2 version of Scala:
What's new?
- Generic Signatures
The Scala compiler now generates Java's generic signatures, so that Scala generics are visible to Java.
- Java/Scala Combined Projects
The compiler can now parse (but not translate) Java source files. This makes it possible to have mixed Java/Scala projects with recursive dependencies between them. In such a project, you can submit first all the Java and Scala sources to the Scala compiler. In a second step, the Java sources are compiled using the Scala generated .class files and the Scala sources are compiled again using the Java generated .class files.
- ScalaSwing
Another major addition is the first beta version of the ScalaSwing library, which is now bundled with the distribution.
- Scala Collections
There are new implementations of collection classes, contributed by David MacIver: IntMap, LongMap, and TreeHashMap (immutable), ArrayStack and OpenHashMap (mutable).