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

开发 前端
JRuby 1.7.18 发布,此版本是 JRuby 1.7.0 以来的第 21 个版本,JRuby 1.7 主要是为了解决与 Ruby 1.9.3 的兼容问题。此版本值得关注的新特性:

[[125030]]

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

相关链接:

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等新兴语言联系在一 起,就有可能落后于流行趋势。

原文链接:http://www.oschina.net/news/58195/jruby-1-7-18-released

责任编辑:张伟
相关推荐

2011-10-28 14:23:46

Ruby

2009-09-08 11:05:00

JRuby入门Ruby

2011-03-17 09:27:00

JRuby

2009-07-17 17:49:39

JRuby学习

2009-07-17 17:05:29

JRuby是什么JRuby

2012-04-16 14:55:54

JVMJRuby

2010-05-13 09:07:13

JRuby

2011-08-31 17:41:07

Ruby

2009-07-20 16:11:41

JRuby Swing

2011-03-30 16:20:35

RubyJRubyAndroid

2009-07-17 16:43:02

JRuby性能优化

2012-02-13 15:29:32

Python

2009-12-03 13:51:51

JRubyJBossTorqueBox

2011-08-03 13:15:50

Ruby

2010-04-19 15:07:26

JRuby 1.5.0

2009-07-20 09:22:36

用jruby调用jfr

2009-07-20 15:37:26

JRuby安装JRuby配置

2011-06-02 09:20:43

搜狗浏览器

2009-04-24 09:06:10

打包软件打包器Cargo

2011-07-20 09:13:35

搜狗浏览器
点赞
收藏

51CTO技术栈公众号