Eclipse新版發布,全面支持Java 7
作者:佚名
Eclipse基金會發布了Eclipse 3.8 M1版,這是第一個支持Java 7的里程碑版本。
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
下載地址:http://download.eclipse.org/eclipse/downloads/drops/S-3.8M1-201108031800/
【編輯推薦】
責任編輯:艾婧
來源:
ITeye