Linuxeden 开源社区 --
Apache Groovy 2.4.12 发布了,该版本是 Groovy 2.4.x 分支的维护版本。强烈鼓励所有使用此分支旧版本的用户升级到该版本。
此次更新包括了 16 处的 bug 修复以及改进, 详情点此查看 。
Sub-task
- [GROOVY-8235] – JSR308 avoid compiler errors for legacy versions
Bug
- [GROOVY-7535] – Groovy category throwing MissingMethodException and MissingPropertyException when using multiple threads
- [GROOVY-7654] – Iterable as List and Iterable.asList() have different semantics
- [GROOVY-7979] – JsonSlurper parses a single minus character as a number
- [GROOVY-8056] – GroovyCodeSource(URL) can leak a file handler
- [GROOVY-8074] – @CompileStatic class property accessed instead of map property
- [GROOVY-8135] – SecureASTCustomizer whitelist does not work
- [GROOVY-8157] – Flow typing doesn’t work with assignment to a parameter
- [GROOVY-8166] – Repeated operations in AnnotationCollectorTransform and Traits
- [GROOVY-8174] – Groovy.Sql+Oracle parameter substitution problem
- [GROOVY-8178] – Codenarc broken in quality build
- [GROOVY-8193] – TraitReceiverTransformer does not set source position on property expressions
- [GROOVY-8203] – Add @Newify will cause ?. operator NPE
- [GROOVY-8204] – @Delegate on arrays causes NPE during compilation
- [GROOVY-8229] – nested try-catch-finally handling inside Closures generates wrong bytecode
Documentation
- [GROOVY-8170] – Error in note 1 for pseudo-properties: should be “writing” not “reading”
Groovy 主要的特点包括:
- 是一个基于 Java 虚拟机的敏捷动态语言。
- 构建在强大的 Java 语言之上 并添加了从 Python,Ruby 和 Smalltalk 等语言中学到的诸多特征。
- 为 Java 开发者提供了现代最流行的编程语言特性,而且学习成本很低(几乎为零)。
- 支持 DSL(Domain Specific Languages 领域定义语言)和其它简洁的语法,让你的代码变得易于阅读和维护。
- Goovy 拥有处理原生类型,面向对象以及一个 Ant DSL,使得创建 Shell Scripts 变的非常简单。
- 在开发 Web,GUI,数据库或控制台程序时 通过减少框架性代码 大大提高了开发者的效率。
- 支持单元测试和模拟(对象),可以简化测试。
- 无缝集成 所有已经存在的 Java 对象和类库。
- 直接编译成 Java 字节码,这样可以在任何使用 Java 的地方都可使用 Groovy。
转自 http://ift.tt/2s406xw
The post Apache Groovy 2.4.12 发布,JVM 动态脚本语言 appeared first on Linuxeden开源社区.
http://ift.tt/2s8KMuM
没有评论:
发表评论