JRuby Released

Wednesday, January 19 2022

The JRuby community is pleased to announce the release of JRuby

JRuby 9.3.x is compatible with Ruby 2.6.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.

The big news this release is support for Apple’s M1 family of processors (Apple Silicon) via an update to our native FFI backend library. Nearly all our usual test suites are passing on M1 and we have added a self-hosted CI runner thanks to MacStadium’s OSS program. Callbacks from C to Ruby are unsupported, but this does not affect any libraries we ship. We will continue to improve M1 support with your help and bug reports.

We encourage users to file issues first and ask questions later! Please join our Matrix room if you have any issues or just want to get involved.

Thanks to our contributors this cycle for helping to improve compatibility: @ahorek, @byteit101

Additional thanks to @kovyrin for working through M1 issues with us and confirming that a large application builds and tests successfully.

Hardware Support

  • This release includes greatly improved support for Apple Silicon processors like the M1. (#6813, #6853, #6974, #6977, #6983, #6986, #7006)
  • Known issue: passing a Ruby FFI Function object to C code as a callback is not currently supported due to security restrictions on Apple Silicon. Neither JRuby nor any libraries we ship require this functionality. We will fix it for a future release. (#6995)

Ruby Compatibility

  • The parser once again handles files larger than 32k lines. This issue affected simplecov and mailer gems that we know of. (#6984, #6991)

Standard Library

  • ostruct is updated to 0.5.1, which fixes warnings in verbose mode loading the json library. (#6831, #6963)

Java Integration

  • Additional fixes for super calls from Ruby subclasses of Java classes to match behavior in 9.2.x. (#6935, #6957)

22 Github Issues resolved for