红联Linux门户
Linux帮助

JRuby 1.7.18发布,Java版的Ruby解释器

发布时间:2014-12-23 09:13:05来源:红联作者:empast
JRuby 1.7.18 发布,此版本是 JRuby 1.7.0 以来的第 21 个版本,JRuby 1.7 主要是为了解决与 Ruby 1.9.3 的兼容问题。此版本值得关注的新特性:

修复了 20 个 issues

支持 non-ASCII Symbols

修复原生 crypt() 方面的回退问题

更新 stdlib 来匹配 MRI (C Ruby) 分支 level 551

相关链接:

Homepage: http://www.jruby.org/

Download: http://www.jruby.org/download

Github Issues resolved for 1.7.18

#2342 - Java::JavaLang::NullPointerException: org.jruby.RubyString.crypt(RubyString.java:2660)

#2331 - File.realpath treats absolute "classpath:/" paths as relative paths

#2327 - added String#b method

#2316 - I/O calls do not invalidate `String#ascii_only?` cache

#2310 - ArgumentError: "+HH:MM" or "-HH:MM" expected for utc_offset

#2307 - ConstantCompilationTest.testContainerCompilation regression

#2304 - Unable to use JRuby with google app engine due to use of sun.misc.Unsafe

#2302 - Update JRuby 1.7.x to latest PL and default gems

#2301 - unable to get value of object's fields in RubyMine debugger

#2298 - Open3.capture3 still broken in JRuby 1.7.17

#2297 - File.executable? raises an exception if the `file_path` is non-existent and native disabled

#2296 - NullPointerException with JRuby 1.7.17 running rspec & simplecov in debug mode

#2295 - Regexp.union [] gives wrong result in ruby 1.8 mode

#2294 - String#crypt fails on Windows

#2291 - Dir[] fails if path does not exist instead of returning nil

#2259 - File.basename can return a string with a different encoding than the input

#2172 - Symbols need to support UTF-8 names

#2048 - Stat of an empty resource does not generate proper Exception.

#1941 - Symlinks in load path should remain unexpanded in LOADED_FEATURES

#1237 - jffi*.tmp files remain in %TMP% folder

JRuby是面向Ruby、基于Java虚拟机(JVM)的一种解释程序,它结合了Ruby语言的简易性和功能强大的JVM的执行机制,包括与Java库 全面集成。Rails彻底加快及简化了Web应用的开发,不过它让人觉得不够成熟,特别是在高端企业级功能方面。另一方面,Java平台及其虚拟机、库和 应用服务器的速度、稳定性和功能方面却一直在提升,现在已被公认为是开发高端服务器应用的领先平台。不过如果Java平台不与Ruby等新兴语言联系在一 起,就有可能落后于流行趋势。

来自:开源中国社区
文章评论

共有 0 条评论