手机版
你好,游客 登录 注册
背景:
阅读新闻

Groovy 加入 Apache 基金会发布 2.4.4 版本

[日期:2015-07-17] 来源:oschina.net  作者:Linux [字体:大 中 小]

Groovy 发布了 2.4.4 版本,这是 Groovy 加入 Apache 基金会,处于孵化阶段时发布的首个版本。

该版本改进内容包括:

Bug

  • [GROOVY-7018] - GroovyClassLoader addClasspath RegexPattern issue

  • [GROOVY-7022] - invoking scripts using full path broken in cygwin

  • [GROOVY-7097] - ScriptBase class can't be resolved if not in current directory even if CompilerConf classpath is set

  • [GROOVY-7127] - Dates.isJsonDate only recognizes Javascript Date's toJSON() Format

  • [GROOVY-7159] - STC claims non-existent Diamond in Anonymous Inner Class with Generics

  • [GROOVY-7338] - URL getText(requestProperties) Map doesn't accept a GString

  • [GROOVY-7365] - Compiler crash in the static type checker

  • [GROOVY-7366] - Static imports are missing in generated stubs

  • [GROOVY-7377] - Interpolated variable followed by asterisk in slashy-string causes compiler error

  • [GROOVY-7381] - Setters with non-void return type fail at runtime when statically compiled

  • [GROOVY-7386] - Packed Maven pom.xml reference commons-cli instead of groovy-all

  • [GROOVY-7391] - Indy ignores custom invoker in meta class

  • [GROOVY-7392] - JsonSlurper Fails on Valid JSON

  • [GROOVY-7416] - Problem With CompileStatic And Interface Methods In Abstract Subclass

  • [GROOVY-7424] - NPE in SecureASTCustomizer for interface method declarations

  • [GROOVY-7448] - AbstractConcurrentMap performing rehash() on every insert

  • [GROOVY-7453] - CompileStatic annotation should not support package target

  • [GROOVY-7456] - Builders don't work in Traits

  • [GROOVY-7461] - Groovy doesn't write BOM if UTF-16 alias is used

  • [GROOVY-7462] - groovy.json.internal.Dates instantiates objects without explicitly specifying the miliseconds parameter

  • [GROOVY-7474] - Difference between junit3 and junit 4 shouldFail {...} not described in docs

  • [GROOVY-7476] - JsonSlurper sometimes does not parse escaped double quotes on parsing with JsonParsingUsingCharacterSource

  • [GROOVY-7477] - CompileStatic-related "BUG! exception in phase 'instruction selection'"

  • [GROOVY-7485] - BUG! exception in phase 'semantic analysis'... when trying to call instance method as default for a constructor parameter

  • [GROOVY-7495] - Diamond inheritance of interfaces makes method return type incompatible

  • [GROOVY-7504] - [CVE-2015-3253] Potential remote code execution

Improvement

  • [GROOVY-7425] - Add 'getBytes(Map parameters)' method to the URL class

Sub-task

  • [GROOVY-4421] - Casts should have higher precedence than mathematical operators

  • [GROOVY-5185] - Cast operator precedence is incorrect

Task

Gradle 打包 Groovy 脚本成 jar与上传到maven repository http://www.linuxidc.com/Linux/2012-07/64178.htm

Groovy入门教程 http://www.linuxidc.com/Linux/2013-09/89776.htm

Groovy 2.3 trait语法介绍 http://www.linuxidc.com/Linux/2014-05/101035.htm

Groovy 的详细介绍:请点这里
Groovy 的下载地址:请点这里

本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-07/120026.htm

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款