JRuby 9.2.11.0 Released

Monday, March 02 2020

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

JRuby 9.2.x is compatible with Ruby 2.5.x and stays in sync with C Ruby. As always there is a mix of miscellaneous fixes so be sure to read the issue list below. All users are encouraged to upgrade.

Java Integration

  • Gems and gem paths packaged inside jar files will properly load now. This 9.2.10.0 regression was caused by a change in RubyGems 3 that exposed a bug in JRuby. (#6060, #6082, #6083, #6084)

Performance Improvements

  • Fixed a major performance and memory bottleneck in backtrace generation, used by Kernel#caller and friends. This was a regression in 9.2.10.0. (#6089)

Github Issues resolved for 9.2.11.0

  • #6097 - CGI.escapeHTML restore the original encoding
  • #6093 - CGI.escapeHTML crashes on invalid byte sequence where CRuby does not
  • #6091 - Check arity earlier in JavaConstructor#new_instance
  • #6090 - [9.2.10.0] bogus revision regression
  • #6089 - Pontential performance issue
  • #6084 - Use expand_path logic for Dir.glob base path
  • #6083 - Basic smoke test with warbler no longer works with jruby-jars-9.2.10
  • #6082 - Upgrade to 9.2.10.0 breaks project using asciidoctor-maven-plugin
  • #6081 - Dependency convergence errors in 9.2.10.0
  • #6079 - newInstance on protected/private classes sometimes give an Index OOB Exception
  • #6060 - Globbed jar contents with expand path failing in RubyGems