Eclipse 3.8 M1发布,支持Java 7

作者: ldsea 分类: 程序生活 发布时间: 2011-08-31 08:48

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/

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注