JRuby 1.7.21 Released

Tuesday, July 07 2015

The JRuby community is pleased to announce the release of JRuby 1.7.21

JRuby 1.7.21 is our twenty-fifth update release since JRuby 1.7.0. The primary goal of 1.7 point releases is to fill out any missing compatibility issues with Ruby 1.9.3.

Highlights:

  • 31 issues fixed for 1.7.21
  • Java integration performance enhancements
  • paths representing files within jars work better with core filesystem APIs
  • DateTime compat fixes
  • BigDecimal compat fixes

Github Issues resolved for 1.7.21

  • #3095 - "gem install" with jruby-complete results in "missing class name (`org.jruby.util.Classpath')"
  • #3093 - isOpen()/close() is racy. Simply close and ignore EBADF.
  • #3071 - when CWD is uri:classloader:/ regular absolute path do not work
  • #3041 - Zlib::GzipReader.readbyte not implemented
  • #3030 - Update rubygems to 2.4.8 to mitigate CVE-2015-4020
  • #2995 - Hash behaves differently when used with FFI::Pointer
  • #2986 - certain require do not load extension Service class
  • #2972 - creating a directory via uri-like path 'uri:classloader://new_dir' acts wrongly
  • #2969 - packing a runnable jar including rake + rspec can not execute '-S rake spec'
  • #2968 - jruby-complete can run -S rake spec:jruby or any other rspec via rake
  • #2967 - File.expand_path inside a jar can fail
  • #2966 - some File methods do not treat uri like paths consistently
  • #2948 - various issues launching script from runnable jar
  • #2946 - respond_to_missing? does not convert method to symbol
  • #2941 - DateTime.iso8601 fails with an error if a second fraction is present
  • #2940 - activesupport 4.2.1 breaks timeout.rb on jruby 1.7.19 and 1.7.20
  • #2922 - Dir['{}'] crashes with java.lang.ArrayIndexOutOfBoundsException: 0
  • #2907 - Hash#take_while wrong behavior in 1.7.19
  • #2883 - DateTime.iso8601 fails with an error (incompatibility)
  • #2873 - Class not found exception on ppc64le
  • #2856 - Some data can cause String#encode to hang
  • #2539 - Incorrect error message when BigDecimal fails to coerce during comparison
  • #2538 - BigDecimal does not coerce properly during division
  • #2373 - Redirecting $stdout to an object fails with: Errno::EBADF: Bad file descriptor - Bad file descriptor
  • #2293 - uintptr_t is wrong size on 64-bit JRuby
  • #2039 - jruby 1.7.10 raises unexpected arity error (1 for 0) when creating a java.math.BigDecimal
  • #1967 - Error when raising to a BigDecimal
  • #1718 - Pointer on Windows JRE 64bit: Fix Memory access offset=0 size=8 is out of bounds
  • #1396 - Backticks don't give exception for nonexistant command
  • #1218 - Forcing jruby-complete to execute a command.
  • #540 - Inconsistency between MRI and JRuby when private methods are called and method_missing is present