JRuby 1.7.12 发布,该版本最值得关注的是兼容 Ruby 1.9.3 . 主要改进包括:
Changes of note:
39 issues fixed for 1.7.12
Mostly small 1.9.3 compatibility fixes
Fixed a small leak if throwing lots of X509Errors
Improved loading speed of Ruby files from jar files.
Github Issues resolved for 1.7.12
#1626 - Fix compare_to for to_java'ed Ruby objects
#1625 - Array#pack(cC) should not raise RangeError when argument is bignum
#1618 - Enum.java:238:in `valueOf': java.lang.IllegalArgumentException: No enum constant jnr.constants.platform.AddressFamily.AF_AF_INET
#1612 - jruby affected by libyaml CVE-2014-2525?
#1608 - Inconsistent parsing of long strings to integers between JRuby and MRI
#1607 - index.txt for s3 files
#1606 - Exception when comparing Time with nil using ===
#1605 - syslog FFI constants not generated for Syslog class on FreeBSD
#1603 - Remove [@] syntax to add IBM i compatibility
#1600 - Enums.... round three
#1599 - Fix dynamic rescue on Java exceptions (issue #1598)
#1598 - Dynamic rescue blocks don't catch Java exceptions
#1595 - "gem install bundler" fails using 2.0 or 2.1 mode
#1592 - Fix definition of JavaUtilities::ModifierShortcuts#static?
#1589 - Rand fix master
#1588 - fix Random.rand(1.0) behavior
#1587 - Refactor channeldescriptor to use FileResource
#1583 - Random.rand is broken with floating point values vs 1.9.3
#1575 - mvn build error for [INFO] JRuby Lib Setup ................................... FAILURE
#1573 - Fix exponential perf degradation in Time.parse and Time.strptime.
#1564 - String#{to_r,to_c} should not use backref when calling gsub internally
#1563 - Calling String#to_r causes loss of Regexp.last_match data
#1557 - Pathname doesn't have to_path in 1.8
#1556 - Dir.home returns LOGDIR env var instead of HOME or user.home
#1546 - Implement jar directory snapshot caching.
#1534 - NPE in RubyIO.fwrite(RubyString buffer)
#1532 - Potential runtime leak from X509Error$ErrorException
#1529 - Krypt 0.0.2.rc1 update
#1526 - Change to use FileResource to get entries for RubyDir
#1523 - unexpected ArgumentError in curried Proc
#1508 - fix spinning indefinitely on partial TLS record (issue #1280)
#1507 - Processdottimesfix
#1506 - Better messaging with NameErrors
#1478 - Array#pack difference between jruby 1.7.10 and ruby 1.9.3
#1460 - org.jruby.ext.pathname.RubyPathname class doesn't properly support instance_variable_set method
#1280 - jruby-openssl spins endlessly trying to read from a non-blocking SocketChannel while no data is available.
#1210 - Unbundle bouncy-castle-java
#1207 - Unbundle krypt libraries
#1100 - When inside a .JAR, __FILE__ returns a URI-like string that isn't understood by some keywords
来自:开源中国社区