【IT168 资讯】Eclipse基金会发布了Eclipse 3.8 M1版,这是第一个支持Java 7的里程碑版本。
该版本的改进包括:
代码自动提示支持Diamond operators。
移除多余的类型文字,并使用diamond operator代替
Content assist can be used to insert types into diamonds
Multi-catch can be extended with a "Surround with try/multi-catch", complementing the existing "Surround with try/catch"
Multi-catch can be extended with new exception types
Exception blocks can be combined into a single multi-catch block
Resources closed with try-with-resources can detect thrown exceptions and add to (multi-) catch blocks
Strings-in-switch 语句能够被转换到嵌套的 if/else 语句中
The Java7 execution environment has been added for dependency on execution environments
该版本针对Java 7的详细改进信息:http://www.eclipse.org/jdt/ui/r3_8/Java7news/whats-new-java-7.html
下载地址:http://download.eclipse.org/eclipse/downloads/drops/S-3.8M1-201108031800/