Groovy 2.4.3 發布,JVM 動態腳本語言
Groovy 2.4.3 發布,此版本更新內容如下:
Bug 修復
-
[GROOVY-6757] - Explicit type hints are not respected
</li> -
[GROOVY-7307] - Narrower generic type not taken into account when calling another generic method
</li> -
[GROOVY-7316] - CompileStatic cannot infer generic return type
</li> -
[GROOVY-7355] - VerifyError if a closure shared variable of a foreach style loop is used with @CompileStatic
</li> -
[GROOVY-7356] - Compiler internal error if inside an optimized foreach loop and the body contains a try/catch block
</li> -
[GROOVY-7357] - Optimized foreach loops should perform a null check
</li> -
[GROOVY-7358] - Optimized foreach loops should handle "continue" properly
</li> -
[GROOVY-7359] - CompileStack#removeVar: tried to remove a temporary variable with index 2 in wrong order
</li> -
[GROOVY-7361] - VerifyError when private variable is used in synchronized block
</li> -
[GROOVY-7364] - Invalid type inference with a generic method / return type and optional parameter
</li> </ul>改進
-
[GROOVY-6123] - Cannot use @CompileStatic with loop over Enumeration
</li> -
[GROOVY-6240] - static type checker cannot infer type of for loop variable from map
</li> </ul>此版本現已提供下載:
- </li>
- </li>
- </li>
-
http://dl.bintray.com/groovy/maven/groovy-sdk-2.4.3.zip
</li> </ul>Groovy是一種基于JVM的敏捷開發語言,它結合了Python、Ruby和Smalltalk的許多強大的特性。
Groovy 主要的特點包括:
-
是一個基于Java虛擬機的敏捷動態語言。
</li> -
構建在強大的Java語言之上 并添加了從Python,Ruby和Smalltalk等語言中學到的諸多特征。
</li> -
為Java開發者提供了現代最流行的編程語言特性,而且學習成本很低(幾乎為零)。
</li> -
支持DSL(Domain Specific Languages領域定義語言)和其它簡潔的語法,讓你的代碼變得易于閱讀和維護。
</li> -
Goovy擁有處理原生類型,面向對象以及一個Ant DSL,使得創建Shell Scripts變的非常簡單。
</li> -
在開發Web,GUI,數據庫或控制臺程序時 通過減少框架性代碼 大大提高了開發者的效率。
</li> -
支持單元測試和模擬(對象),可以簡化測試。
</li> -
無縫集成 所有已經存在的 Java對象和類庫。
</li> -
直接編譯成Java字節碼,這樣可以在任何使用Java的地方 使用Groovy。
</li> </ul> 來自:http://www.oschina.net/news/60826/groovy-2-4-3本文由用戶 dw23 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-
-