Author: The JRuby Team
Source
The JRuby community is pleased to announce the release of JRuby 9.3.11.0
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
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.
Thank you to our contributors this release, you help keep JRuby moving forward! @ahorek, @chadlwilson, @justinstoller, @k77ch7, @kares, @snoglobe
Ruby Compatibility
Standard Library
- strscan is still built-in (not a gem) but has been updated to the 3.0.6 version. #7634, #7884, #7889
- Along with this change, our Regexp engine joni is updated to 2.2.1 for Range optimizations.
- Default gem updates:
- jruby-openssl0.14.2 #7877
JVM Integration
- Virtual thread use in Fiber can now be disabled using the
jruby.fiber.vthread=false
property (or JRuby flag-Xfiber.vthread=false
). #7907
Build and Distribution
- The JRuby/Maven stack of plugins used to integrate Ruby and Maven artifacts have been updated to the latest versions, now using JRuby 9.4.3.0 for builds and avoiding the use of deprecated rubygems.org APIs. #7880
33 Github Issues resolved for 9.3.11.0
- #7216 – Something changed from 9.2.x to 9.3.x that causes a SecurityException with access denied when using jruby as osgi-bundle
- #7353 – SSH connection stucked with NET::SSH_7.0.1 and OpenSSH_8.0 with FIPS enabled
- #7394 – require_relative confused by chdir
- #7483 – Regression in Socket#close – EBADF after unsuccessful connection
- #7633 – Do not return early from ThreadService#terminate
- #7634 – Update joni and strscan
- #7635 – Cleanup IO state for true connect failures
- #7648 – Array#fill not compliant with MRI
- #7651 – Fix Array#fill for edge case
- #7677 – SCRIPT_LINES__ is set to nil if you require ripper.
- #7730 – Running specific regex with Regexp::IGNORECASE flag on text starting with specific pipe character results in java.lang.ArrayIndexOutOfBoundsException
- #7742 – fix flipBuffer overloads
- #7749 – When converting from binary to decimal with to_i(2), the result will be 0 if it contains multiple underscores.
- #7754 – [deps] update jruby-openssl to 0.14.1
- #7762 – [fix] avoid walking constructor instructions on every call
- #7769 – error: invalid multibyte character occurs in JRuby 9.4.2.0
- #7782 – Fix defined?(super) on BasicObject from causing NullPointerException
- #7784 – [build] make generated .class files deterministic
- #7794 – [deps] update joda-time to latest 2.12.5
- #7805 – High lock contention in Socket.select in JRuby 9.3
- #7806 – Reduce contention in heavy IO operations
- #7877 – [deps] update jruby-openssl to 0.14.2
- #7880 – Migrate to new mavengem (9.3 version)
- #7889 – Update joni and strscan for recent fixes
- #7906 – It seems that tomcat results in nullpointer exception when clearing tread locals
- #7907 – Improvements for vthread fibers
- #7912 – Guard for null in StringWrapper
- #7916 – ConcurrentModificationException during RubyModule.defineAnnotatedMethods / Ruby.addBoundMethod
- #7917 – Make bound method management threadsafe
- #7920 – Restore default protection domain for OneShotCL
- #7932 – Store absolute path of main at load time
- #7933 – Improve line numbers for generated dynscopes
- #7934 – Fix String#to_i with leading zero and underscores