Author: The JRuby Team
Source
The JRuby community is pleased to announce the release of JRuby 9.4.8.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 9.4.x targets Ruby 3.1 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward! @edipofederle, @fidothe, @ikaronen-relex, @jimtng, @jsvd, @kares, @mullermp, @ntkme
Ruby Compatibility
Standard Library
- jruby-openssl is updated to 0.15.0, with updated Bouncy Castle libraries to avoid CVEs in older versions.
- uri is updated to 0.12.2, mitigating CVE-2023-36617.
- net-ftp is updated to 0.3.7 with restored functionality on JRuby.
58 Github Issues resolved for 9.4.8.0
- #6198 Add test for #6197
- #7515 Process.wait and Process.wait2 not behaving as expected on Windows with JDK > 8
- #7688 Correct Binding#dup to properly propagate values it captures
- #7750 File.absolute_path does not work correctly on Windows when dir_string is specified and contains non-ASCII characters
- #7879 New failures in Rack tests relating to deflater
- #8129 arity for { |a,| } was -2 and should have been 1
- #8140 [ji] support re-reifying class hierarchy
- #8178 Java::JavaLang::ClassCastException: class org.jruby.java.proxies.ConcreteJavaProxy cannot be cast to class org.jruby.RubyArray
- #8183 IPSocket#addr returning “0:0:0:0:0:0:0:0” as bound ip address and not “::” when preferring IPv6
- #8210 Requiring visibility=PRIVATE for native initialize is error-prone
- #8213 Introduce a DEFAULT visibility to indicate unspecified
- #8216 IO.popen fails to find executable with chdir: kwarg
- #8217 JRuby Jar comuptation fails in OSGi environment
- #8218 Process chdir option sooner so execFillarg sees it
- #8219 Class vars overtaken
- #8220 Fix some error messages to make MRI test pass
- #8222 Update uri to 0.12.2 for CVE-2023-36617
- #8225 Different behavior for Array#reject in required file
- #8232 Synchronize state in AbstractVariable and Argv
- #8237 Open3 doesn’t write on the right STDOUT
- #8239 Fix Dir.home for empty dir name
- #8241 Making excluded tests from
test/mri/ruby/test_env.rb
pass - #8242 Resolve symlinks in user provided $JAVA_HOME
- #8243 handle FileSystemNotFoundException when getting jruby jar
- #8244 org.jruby.javasupport.ext.JavaLang.Number#define emits “method redefined” warnings in verbose mode
- #8245 Remove unused variable assignment from Fiddle::Pointer.to_ptr
- #8246 Remove skipped tests from TestAssignment
- #8247 Remove redundant (and slightly broken) to_int and to_f aliases
- #8248 JRuby parses “mixed” IPv6 address as IPv4
- #8250 [ji] avoid already initialized constant warnings
- #8251 Dir.chdir conflicting warning and error
- #8252 yield specific for interp should have same rest logic as other paths
- #8255 Fix #8183. IPSocket#addr should report :: vs long unspecified address
- #8256 Inconsistent debug info for jitted code in IntelliJ
- #8257 Remove passing MRI test Fixnum
- #8258 Check for override method on eql?
- #8261 [deps] update jruby-openssl to 0.14.6
- #8269 Unbound#== for aliases to be considered equal.
- #8270 Enumerable#inject/reduce should show arg error with no arg or block
- #8273 ARGF spec fixes.
- #8274 fix some range conditions in String#* by relaxing to long at first
- #8275 Refinement#import_methods always warns
- #8278 IO.popen does not return value of the provided block
- #8280 Enhancements for IR printing
- #8281 Set writer modification time to now by default
- #8282 Properly check for Module’s superclass
- #8283 Pattern matching not working
- #8284 Fix pattern JIT Hash match and SyntaxError
- #8288 Race fixes for AOT mode in 9.3
- #8289 Subprocess launch with shell fails with empty env
- #8290 Check for empty string from ENV.op_aref
- #8292 Return the value of the block for IO.popen
- #8294 Fix IPSocket.getaddress to handle special case IPv6 addresses
- #8303 update jruby-openssl to 0.15.0
- #8305 Update net-ftp to JRuby-compatible 0.3.7
- #8306 Properly fall back if can’t setAccessible
- #8309 Default Windows filesystem encoding to UTF-8
- #8310 Enhance reflective pid-getting for Windows Java 8+