Releases: jruby/jruby
JRuby 10.0.3.0
layout: post
title: JRuby 10.0.3.0 Released
The JRuby community is pleased to announce the release of JRuby 10.0.3.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 10.0.3.x targets Ruby 3.4 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward! @mrnoname1000, @ngr-ilmarh, @Earlopain, @philr, @jotamartos, @kares, @aleksandrs-ledovskis, @trinistr, @katafrakt, @chadlwilson, @khasinski, @evaniainbrooks
Compatibility
- JRuby now reports
RbConfig::CONFIG['arch']without a version number, asuniversal-java. This allows using different JDK versions without triggering RubyGems missing extension warnings for installed gems. The host Java version is still available asRbConfig::CONFIG['arch_version']. [#9107]
Standard Library
- The non-gem standard library is upgraded to Ruby 3.4.5 #8967
- rexml is updated to 3.4.4 to address CVE-2025-58767. #9011
- syslog is moved to a default gem at version 0.4.0. The syslog gem now includes JRuby support. [#9109], ruby/syslog#1
- strscan is updated to 3.1.7. [#9159]
Documentation
- Ruby ri documentation for core and standard library are now included in the release distribution. #9049, #9052
All Issues/PRs
- #8707 WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
- #8727 Cannot install latest
rubocop - #8730 Launcher: Defensive fixes
- #8758 Require is not working for .class file if the class is inside a module since 9.3.0
- #8810 Possible fix for 8809
- #8923
NameErrorfor autoloaded constant withprivate_constant - #8934 JRuby under Java 22+ always thinks it's running under a TTY
- #8940 Verify to_s is string or fall back on anyToString
- #8947 New check for System.console tty on JDK 22+
- #8955 Range#count always returns size for Integer bounds
- #8956 Handle argument or block passed to Range#count
- #8958 Concurrent requires can lead to StringIndexOutOfBoundsException
- #8960 Fix index -1 error while searching for feature path
- #8962 Upgrade polyglot and remove openssl lib hack
- #8967 Update stdlib to 3.4.5 and clean up old files
- #8975 Use RuboCop to clean up poms (10.x)
- #8976 Regression in keyword argument matching in JRuby v10.0.1.0
- #8978 Additional fixes for scheme-based globbing
- #8984 glob refactoring
- #8985 Fix language spec where error string changed
- #8987 InvokeDynamicSupport.findVirtual fails with IllegalAccessException: symbolic reference class is not accessible
- #8989 Explicitly request access before Lookup.find*
- #8994 autoload + private_constant do not play well together
- #8995 private_constant should just update existing autoload
- #8996 Avoid binding unreadable modules' classes
- #8998 Time#localtime incorrectly treats zero offset as UTC (regression in v10.0.2.0)
- #9006 Consider .class a source extension during search
- #9007 Handle
warn(foo, uplevel: nil) - #9009 Encoding a string with undefined chars fails with NoMethodError
- #9010 Fix "+00:00" and 0 being treated as UTC by Time#localtime and Time.at
- #9011 Update rexml gem to solve CVE-2025-58767
- #9016 [fix] regression calling static hash() method on Java proxy
- #9017 can not use Java class with static hash() method
- #9018 Parser does not convert newlines reading \r\n on Windows
- #9019 We need to remove \r from heredoc strings
- #9021 Retire safe double processing utilities
- #9024 Move all main classes to org.jruby.main package
- #9027 Add "since" to bare Deprecated annotations
- #9035 IO#read does not clear code-range for buffer argument
- #9036 fix: clear code-range when re-using a string buffer
- #9038 Add opens and native access to all jar manifests
- #9039 Update all jnr dependencies
- #9041 Migrate .java-version contents to .jruby.release
- #9049 ri docs are not available for core
- #9050 Marshal fails to load an encoding with an encoding ivar
- #9051 Ignore encoding when unmarshaling an Encoding
- #9052 Download and include in dist CRuby's rdoc data
- #9058 Implement efficient unshifting
- #9059 [Reserve extra space before elements when unshifting][#9059]
- #9063 [Hash's compare_by_identity state does not marshal][#9063]
- #9065 [Preserve compare_by_identity for marshaled Hash][#9065]
- #9068 [Windows CI spec runs][#9068]
- #9073 [fix: Permit overriding of JSA file location using ENV variable][#9073]
- #9084 [object_id improvements][#9084]
- #9094 [Implement GC.config [Ruby 3.4]][#9094]
- #9097 [Update jruby-openssl to v0.15.5 to resolve BouncyCastle 1.79 vulnerability (sonatype-2025-001911).][#9097]
- #9098 [Fix CoverageData.mergeLines when coverage increases][#9098]
- #9101 [Cached fixnums for immediate values][#9101]
- #9103 [Update jruby-openssl to 0.15.5][#9103]
- #9106 [Use smaller default size for many collections][#9106]
- #9107 [Separate Java version out of rbconfig 'arch'][#9107]
- #9108 [Tidy up default gems][#9108]
- #9109 [Switch to syslog gem][#9109]
- #9110 [Calling
inspecton proc resets line insource_location][#9110] - #9112 [Prevent modifying state in RubyProc][#9112]
- #9117 [Add file path to error message when unlinking non-existing file][#9117]
- #9122 [Unexpected jruby.sh error messages on Windows][#9122]
- #9127 [fix(launcher): correct parsing of java release files under Bash/msys2 etc on Windows][#9127]
- #9138 [Copy Data type's var table manager with new realClass][#9138]
- #9141 [refactorings and cleanup motivated by error-prone][#9141]
- #9142 [Change GC's methods from module_function to metaclass methods][#9142]
- #9145 [Never trust external content for FString][#9145]
- #9152 [Marshal.dump corruption for large Array structures][#9152]
- #9157 [bump included gems][#9157]
- #9158 [Use same key match for containsKey][#9158]
- #9159 [Update strscan to 3.1.7][#9159]
- #9182 [Fix NoMethodError when encoding with invalid: :replace option][#9182]
- #9188 [Different arguments for each.map vs each and map alone (10.0)][#9188]
- #9189 [Fixes #8952. Nest
itshould be differentits][#9189] - #9190 [Backport implicit local variable fixes from 10.1][#9190]
- #9191 [Fixes #8952. Nested 'it' behavior broken][#9191]
- #9192 [Stab at Fixing #8976][#9192]
- #9194 [
BigDecimal#+,#-,#add,#subalways try to cast result of coercion toRubyBigDecimal][#9194] - #9196 [
require "bigdecimal"does not installBigDecimal()if it was called previously][#9196] - #9199 [Output formatting differences between jRuby 10.0.0.1 and Ruby 3.4 when converting Float to JSON][#9199]
- #9200 [Extract float formatting into a static method to use with to_json][#9200]
- #9203 [Invalidate method caches from generated populators][#9203]
- #9204 [Fix BigDecimal#+, #-, #add, #sub failing when coercing doesn't return a BigDecimal][#9204]
- #9205 [Fix encoding fallback error handling and error message formatting][#9205]
JRuby 9.4.14.0 Released
The JRuby community is pleased to announce the release of JRuby 9.4.14.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 9.4.14.x targets Ruby 3.1 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward! @matthias-fratz-bsz, @ikaronen-relex, @ylecuyer
Compatibility
- Ruby version is now 3.1.7. (#8966)
Libraries
- strscan is updated to 3.1.5. (#8897)
- cgi is updated to 0.3.7 to resolve CVE-2025-27220 and CVE-2025-27219 (#8954, #8966)
- uri is updated to 0.12.4. (#8966)
- net-smtp is updated to 0.3.1.1. (#8966)
- rss is updated to 0.3.1. (#8966)
- Non-gem stdlib has been updated to Ruby 3.1.7 sources. (#8966)
Build
- jruby-maven-plugins is updated to 3.0.6 to resolve issues with garbled gem poms. (#8898)
- The stdlib build scripts have been modified to work with latest polyglot-ruby. (#8634, #8963)
Usability
- bin/ruby and bin/ruby.bat are now shipped in the distribution, to make installation simpler. (#8875)
29 Issues and PRs resolved for 9.4.14.0
- #8422 ConcurrentLocalContextProvider leaks memory per thread
- #8634 9.4.12.0 unable to build itself
- #8670 Setting system property 'jruby.gem.home' works but outputs a warning
- #8779
Marshal.dump(binding)behavior differs from CRuby - #8823 Failure in
StringScanner#scan_integerwhen running the HexaPDF test suite - #8859
bundle gemdoes not fully run - #8866 JRuby 9.4.13.0 introduces
LoadError: no such file to load -- Win32APIvia stdlib/net/http on Windows - #8875 Pregenerate bin/ruby and bin/ruby.bat
- #8883 Normalize arch to universal-java-version
- #8884 Require the correct case for this library
- #8885 Coerce the chdir for popen
- #8897 Update strscan to fix number scanning at nonzero offset
- #8898 Update maven plugins to latest
- #8902 Sporadic failure in TestArray#test_insert under indy
- #8904 Always check array insert pos
- #8909 Make Binding unmarshalable
- #8918 Don't set callInfo when target does not use kwargs
- #8919 Update vendored cgi gem
- #8933 Output buffer size calculation for unpack('m') and unpack('u') can overflow for long inputs
- #8936 Fix integer overflow in buffer length calculation for unpack('m') and unpack('u')
- #8954 Secuity: Bump cgi to 0.4.2. CVE-2025-27220 CVE-2025-27219
- #8961 Fix index -1 error while searching for feature path
- #8963 Upgrade polyglot and remove openssl lib hack
- #8966 Update stdlib to 3.1.7
- #8968 Pass multi-elt array key for to_h using yieldArray
- #8969 Fix memory leak in Concurrent/ThreadSafeLocalContextProvider
- #8970 Move jruby.gem.home and jruby.gem.path to Options
- #8973 Pathname::glob behavior changed with 9.4.13.0 and later
- #8980 Additional fixes for scheme-based globbing (9.4)
JRuby 10.0.2.0
The JRuby community is pleased to announce the release of JRuby 10.0.2.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 10.0.2.x targets Ruby 3.4 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward!
7 Issues and PRs resolved for 10.0.2.0
- #8920 KWargs issue with mustermann gem preventing JRuby 10.0.1.0 upgrade
- #8922 Don't clear callInfo for Ruby methods
- #8929 Update ArgumentError for missing file to match CRuby
- #8930 Run specs repeatedly with forced JIT
- #8943 Make closure to method conversion more conservative
- #8948 SassC - array size too big
- #8950 Fixes #8948. SassC - array size too big
JRuby 10.0.1.0
The JRuby community is pleased to announce the release of JRuby 10.0.1.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 10.0.1.x targets Ruby 3.4 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward!
Compatibility
Libraries
62 Issues and PRs resolved for 10.0.1.0
- #6781 Remaining Zeitwerk fixes
- #8624 Inconsistent String behavior between MRI and JRuby
- #8690 Using JSR223 ScriptEngine interface has no way to clean up resources
- #8740 JRuby10: BigDecimal("0").to_java => Java::JavaLang::Long
- #8767
itspecial block variable hides local variable sometimes - #8769 Fix
sprinfwith explicit zero precision and zero value - #8772 parameterless blocks must check for
itoutside the block in case it exists already - #8776 False positive syntax error on endless method definition on 10.0
- #8777 Something wrong with requires on 10.0 (broken dry-validation gem for example)
- #8778 == and === need to support endless method definitions
- #8780 Fiddle test failing with JRuby 10
- #8781 ffi LONG/ULONG call different value methods
- #8782
Date::ErrorwithDate.parseand JRuby 10 - #8783 Failure in ruby/pp CI in JRuby 10
- #8785 Rearrange kwargs logic
- #8787 Frozen string literal warning with FFI and JRuby 10
- #8788
Time.newnanosecond parsing - #8793 Fix more corner cases of kwargs from MRI test suite
- #8796 Jruby 10.0:
itis not working in REPL (irb/pry) - #8798 Keyword arguments arity error in drb tests
- #8799
itbroken in irb. Used wrong scope type field in parser. - #8800 Improve docs and some minor warns from IDE dealt with
- #8802 Fixes to improve DRb tests
- #8803 9-digit rational needs to be multiplied by 9 digits
- #8826 Update net-imap from 0.5.4 to 0.5.8
- #8828 Update to net-imap 0.5.8 for security fixes
- #8829 Data fixes and improvements
- #8831 Tweaks to further improve startup speed and memory use
- #8833 Missing splatNode creation
- #8840 Possible bugs found by SAST (Svace)
- #8846 Deadlock occurs between main and Ruby-0-JIT-1 threads
- #8847 Java::JavaLang::ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String
- #8848 Improvements for dynamic string invokedynamic site
- #8850 single value makes kwargs hash. Mark it as such
- #8852 Fixes to improve Zeitwerk support
- #8853 NameError: uninitialized constant MyGem::Foo::Bar when using Zeitwerk
- #8854 Java::JavaLang::NullPointerException: Unable to find org.jruby.RubyTime.initialize(RubyTime.java to read failed line
- #8856 Native (and fast) Time#xmlschema (iso8601)
- #8858 Fix
Time.newwhen using (empty) keywords (2 issues) - #8860 Time.new gives unexpected value
- #8861 Using a string that has been mutated seems to result in a variable containing an unexpected value
- #8863 Order-dependent Zeitwerk failures
- #8864 [deps] update joda-time to 2.14.0
- #8865 [deps] update bundler and rubygems to latest
- #8867 Object.const_defined? not respecting namespace check.
- #8868 Update snapshot deploy to use new maven infrastructure
- #8871 Always remove the lock from pool on failure
- #8872 String#encode replace option incorrectly handles value
- #8873 Handle simple transcoding replacement correctly
- #8874 Update to jruby-maven-plugins 3.0.6
- #8877 Time fixes
- #8878 Some specs fixes in ruby/spec/language
- #8880 Time.new with Rational seconds performs invalid rounding to the next second
- #8881 fix #8880. Added a second with Rational
- #8882 Always set chilled strings as sharing bytelist
- #8890 Fix Time.new parsing (time/new_tags.txt)
- #8895 Improvements based on SAST null reference reports
- #8896 Fix an additional dstring indy optimization long bitfield bug
- #8905 Implement ruby2_keywords_hash dumping
- #8907 Symbol table tweaks
- #8908 Update Hash#inspect logic for multibyte keys
- #8912 Don't include Object for pathed constant searches
JRuby 9.4.13.0
The JRuby community is pleased to announce the release of JRuby 9.4.13.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 9.4.13.x targets Ruby 3.1 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward!
Stability
- Fixed a slow memory leak in subclass management. (#8842, #8844)
- Fixed a potential deadlock during multi-threaded boot and concurrent JIT compilation. (#8845, #8849)
Usability
- Backported JRuby .sh launcher features from JRuby 10, including AppCDS flags for improved startup time. (#8565, #8625, #8626, #8652, #8653, #8656, #8754)
56 Issues and PRs resolved for 9.4.13.0
- #8351 Zlib::GzipReader missing each_char iterator
- #8426 Dir[] vs "../../"
- #8506 Test new version of resolv
- #8526 obj.first caused Java::JavaUtil::NoSuchElementException on an empty Java21 ArrayList
- #8542 Fix Dir.glob ../ and cases
- #8565 JRuby native launcher seems to get confused when both --dev and -Xcompile.mode=JIT are applied
- #8574 Improvements to support json library
- #8577
ArgumentError: unknown keywordfor required keyword argument - #8599 Fixes #8577. kwargs checking: Use bits instead of index
- #8608 add zlib each_char
- #8611 Setting an instance var on a Java object no longer warns
- #8613 Warn when creating a new ivar table on JavaProxy wrapper
- #8623 Installing sassc broke on jruby-head on Windows
- #8625 Add --cache flag to regenerate AppCDS
- #8626 Fix default arguments for generating AppCDS flag
- #8635 Fix
tr!andreverse!on ByteList view with non-zero begin index - #8643 Fixes to get stringio tests and specs green
- #8645 Update stringio to 3.1.5
- #8648 Handle errors whe looking for Java executable
- #8652 Use set -u to avoid accessing uninitialized variables
- #8653 Align 9.4 launcher with 10
- #8654 fix glob dir on windows
- #8655 Make some private helpers for glob
- #8656 Additional fixes for jruby.sh
- #8661 Update Unicode to 15.0
- #8663 copy-rename-maven-plugin version
- #8667 Update jcodings to 1.0.62 and joni to 2.2.4
- #8671 fix a regression in KDDI transcoding
- #8681 Update MRI core tests and tag failures
- #8686 rbByteEncode fails to no-op when encodings are the same
- #8687 Handle encoding checks as in strTranscode
- #8688 Tracing
:callwith TracePoint (and --debug flag) makes kwargs unusable - #8691 Implement AutoCloseable on JRubyEngine
- #8692 Save original callers callInfo in tracepoint
- #8696 New restriction warnings on Java 24
- #8715 Fix missing 2 arg for IO#readline
- #8728 Incorrect warning: given block not used
- #8731 [ji] avoid false duplicate method warning
- #8733 Remove this warning to match standard set.rb
- #8754 Backport jruby.sh from JRuby 10
- #8755 Update uri to version 0.12.3 in JRuby 9.4
- #8789 Dir.glob and Dir[] on existing file URL raises error
- #8795 Possible typo in lib/ruby/stdlib/jruby/compiler.rb:61
- #8805 Possible NPE in RubyModule:searchWithCacheMiss() found by SAST
- #8806 Possible NPE in StringSupport:rbStrEnumerateLines() found by SAST
- #8820 Fix recent potential NPE reports
- #8821 Always cache undef along these paths
- #8825 Update net-imap from 0.2.3 to 0.2.5
- #8827 Update to net-imap 0.2.5 for security fixes
- #8830 Splat with multi-line expression improperly expands
- #8834 Missing splatNode creation
- #8842 Metaspace leak in 9.4
- #8844 Use a normal ClassValue for all such cases
- #8845 Fix locking of stable class values for JI proxies
- #8849 Clean up some locking around hierarchy modification
- #8857 Migrate to the new Maven Central publishing system
JRuby 10.0.0.1 Released
The JRuby community is pleased to announce the release of JRuby 10.0.0.1.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
We've jumped to Ruby 3.4 compatibility and Java 21 minimum to bring you the best Ruby on JVM experience possible. We are confident this is the most compatible and stable major release we've ever had.
Security
- jruby-openssl has been updated to 0.15.4, which re-enables hostname verification by default. This addresses CVE-2025-46551 and GHSA-72qj-48g4-5xgx.
JRuby 9.4.12.1 Released
The JRuby community is pleased to announce the release of JRuby 9.4.12.1.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 9.4.12.x targets Ruby 3.1 compatibility.
Security
- jruby-openssl has been updated to 0.15.4, which re-enables hostname verification by default. This addresses CVE-2025-46551 and GHSA-72qj-48g4-5xgx.
JRuby 10.0.0.0 Released
The JRuby community is pleased to announce the release of JRuby 10.0.0.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 10 is finally here! We've jumped to Ruby 3.4 compatibility and Java 21 minimum to bring you the best Ruby on JVM experience possible. We are confident this is the most compatible and stable major release we've ever had.
Our blog post on JRuby 10 provides a high-level overview of the major changes, with some additional details below. We will update the blog post with additional detailed articles over the coming weeks: https://blog.jruby.org/2025/04/jruby-10-part-1-whats-new
As with any "dot zero" release, we are planning a series of quick updates to address any last-minute issues that snuck into the release. Please file bugs for any issues you see while testing JRuby 10.0: https://github.com/jruby/jruby/issues
Contributors
The JRuby core team today includes Charles Oliver Nutter (@headius), Thomas Enebo (@enebo), and Karol Bucek (@kares). Over the past year we have been honored to accept contributions from many other developers, and JRuby 10 would not be as stable or complete without their help:
[@andsel], [@mrnoname1000], [@ahorek], [@evaniainbrooks], [@edipofederle], [@ccutrer], [@danini-the-panini], [@ntkme], [@andrykonchin], [@mohamedhafez], [@jsvd], [@jpcamara], [@mullermp], [@ikaronen-relex], [@jimtng], [@ryannevell], [@eregon], [@moste00], [@sk757a]
Ruby Compatibility
- Ruby compatibility has been updated to Ruby 3.4. We consider this release equivalent to Ruby 3.4.2.
- Most features of Ruby 3.2, 3.3, 3.4 are complete, but some are still in progress. See our checklists based on CRuby's release notes: Ruby 3.2, Ruby 3.3, Ruby 3.4
- Except where a more recent gem was available or a library is unsupported by JRuby, we have included the same standard libraries as Ruby 3.4.
Java 21
After nearly a decade of supporting Java 8, the JRuby team decided it's time for us to move to a more modern version of Java. The new requirement of Java 21 will allow us to take advantage of many features that were impossible to utilize while simultaneously supporting Java 8:
- On-by-default optimization using InvokeDynamic, which has significantly improved since Java 8.
- Support for thousands of Fibers using the lightweight virtual thread support from Project Loom.
- Fast native function calling and native memory management using Project Panama.
- Greatly improved startup time using Application Class Data Store, enabled by default by our launcher executables.
- Easier access to post-Java 21 features like the Ahead-of-time compiler cache in Project Leyden.
Upgrading to JRuby 10
This release marks a big leap forward for JRuby users, and we are standing by to help with your transition from JRuby 9.x or migration from CRuby. Support services are available to help migrate your critical applications. Many existing users trust JRuby Support by Headius Enterprises to keep their applications in peak condition and to prepare for future updates.
Issues and Pull Requests
There are hundreds of closed issues and merged pull requests in this release. Visit the JRuby 10.0.0.0 milestone for the full list.
201 Issues and PRs resolved for 10.0.0.0
- #6094 [Less modes to run JRuby, and one single mode to benchmark JRuby][#6094]
- #6598 [Modularize all the things][#6598]
- #7516 [Improvements to instance variable shaping][#7516]
- #7638 [ Add support for Ruby 3.2 attached_object][#7638]
- #7646 [Add Integer#ceildiv][#7646]
- #7788 [Add support for a rescue trace event][#7788]
- #7871 [Ruby 3.2 - Remove deprecated methods: trust/taint and friends][#7871]
- #7909 [Intermittent failure on duped pipe tests JDK 19+][#7909]
- #7973 [Use gem for tempfile][#7973]
- #8058 [Ruby 3.3 support: Queue#freeze now raises TypeError][#8058]
- #8059 [Ruby 3.3 support: add symbolize_names kwarg to MatchData#named_captures][#8059]
- #8084 [remove JRuby-specific (deprecated) Class#subclasses(arg)][#8084]
- #8143 [Remove versioned methods][#8143]
- #8145 [Refactor external API to ease extension porting][#8145]
- #8152 [New parser][#8152]
- #8153 [Update parser to 3.4][#8153]
- #8154 [Update and run CRuby 3.4 tests][#8154]
- #8159 [Fix last obvious syntax problem (involving nested pattern kwargs going off rails)][#8159]
- #8160 [Proc#{dup,clone} should be like other objs][#8160]
- #8161 [Finalizers also are on cloned/duped objects][#8161]
- #8162 [Finalizers also are on cloned/duped objects][#8162]
- #8163 [tracepoint only runs in thread it was enabled on][#8163]
- #8164 [{,Unbound}Method#{proc,dup} need to be more like other Ruby objects][#8164]
- #8165 [Add MatchData#deconstruct...][#8165]
- #8168 [First stab at Err#typeError in api][#8168]
- #8169 [Update json to eliminate references to "19" methods][#8169]
- #8170 [Implement block_given? call as optimized instruction][#8170]
- #8172 [Optimized method and callee][#8172]
- #8174 [Unify call paths for most framed scopes][#8174]
- #8175 [These may have been hanging due to a block_given? bug][#8175]
- #8176 [Simplify fixnum and string ranges][#8176]
- #8177 [A few frozen string and symbol optimizations][#8177]
- #8180 [Optimizations for dynamic string building][#8180]
- #8181 [Add ability to generically optimize instr during LOP][#8181]
- #8214 [Disable eager constants in JRuby 10][#8214]
- #8223 [Make Exception#detailed_message,full_message pass specs][#8223]
- #8226 [Implement "chilled" Strings][#8226]
- #8227 [Narrow frame name optimization to method scopes][#8227]
- #8228 [IO#readlines accepts another arg][#8228]
- #8229 [Fix full_message formatting and Throwable impl][#8229]
- #8230 [More frame name fixes][#8230]
- #8233 [Implement Regexp#linear_time?][#8233]
- #8236 [More string interpolation optimizations][#8236]
- #8238 [Implement regexp timeout][#8238]
- #8240 [Fix IO#each_line specs][#8240]
- #8249 [Reduce deopt from print use of $_][#8249]
- #8253 [Optimize literal fixnum and float arrays][#8253]
- #8259 [Improved representation of JRuby for JVM tools][#8259]
- #8260 [Rewrite Marshal.dump logic for efficiency][#8260]
- #8262 [Proc spreading changed in 3.2 with kwrest][#8262]
- #8263 [Implement Coverage::supported?][#8263]
- #8266 [Enable invokedynamic by default][#8266]
- #8267 [Print out paths for syntax errors][#8267]
- #8268 [Unbound method][#8268]
- #8276 [Struct specs][#8276]
- #8277 [Time#new spec fixes.][#8277]
- #8279 [Reduce overhead of ObjectSpace#each_object when disabled][#8279]
- #8291 [Fix remaining copy stream specs][#8291]
- #8293 [Eliminate last consumers of Variable logic][#8293]
- #8295 [3 new Convert API methods][#8295]
- #8297 [Make common method for handling to_r calls in Rational][#8297]
- #8298 [Api changes][#8298]
- #8299 [Linkage errors from java_import are lazy][#8299]
- #8300 [Do initialize classes during java_import][#8300]
- #8301 [Decode ByteList properly for toString][#8301]
- #8304 [Eager initialize java_import'ed classes][#8304]
- #8317 [New asFixnum, asBoolean, asString in Convert][#8317]
- #8330 [Eliminate dynscope for leaf blocks with break/return][#8330]
- #8375 [Revisit chilled strings and pass all specs][#8375]
- #8376 [Get most Enumerator::Product specs passing][#8376]
- #8377 [No backtick in errors][#8377]
- #8378 [Update to latest CRuby 3.4 tests and stdlib][#8378]
- #8390 [Fix foreach with mode: kwarg][#8390]
- #8402 [Hash#inspect: no arrow for symbol keys. add spacing to match C Ruby][#8402]
- #8410 [Permute indy invoke paths to reduce uncached stack][#8410]
- #8414 [Pre-generate specialized object shapes][#8414]
- #8418 [Some small refactoring while looking for example snippet code of new API][#8418]
- #8420 [A bunch of new API calls and new JRubyAPI annotation][#8420]
- #8430 [More dogfooding of new API][#8430]
- #8432 [argumentError API conversions with a lot of runtime to tc replacement][#8432]
- #8437 [context through RubyArray using more API][#8437]
- #8444 [Nearly all newArray is converted to API][#8444]
- #8450 [Enable invokedynamic by default][#8450]
- #8452 [newFixnum,Symbol,Float are unified with asXXX. ][#8452]
- #8454 [more api conversion around Time+][#8454]
- #8459 [API: Nearly all remaining newArgumentError to argumentError][#8459]
- #8460 [more newSymbols made into asSymbol][#8460]
- #8461 [new runtimeError api][#8461]
- #8467 [api: new rangeError, indexError ][#8467]
- #8468 [to_s with TC. new dupString api][#8468]
- #8470 [Inspect wrong object when symbol/string wanted in error][#8470]
- #8471 [more illegal formatting added to printf/format][#8471]
- #8472 [Add new Check#checkEmbeddedNulls to replace StringSupport method][#8472]
- #8473 [Make Time load its Ruby-impl side][#8473]
- #8474 [Create#newEmptyString][#8474]
- #8475 [Create#new{,Small}Hash][#8475]
- #8484 [Various array optimizations][#8484]
- #8485 [Fixes for MRI tests][#8485]
- #8489 [Bind directly to all supported arities of native methods][#8489]
- #8490 [New define API][#8490]
- #8491 [Make hash() always call to hash(ThreadContext) and deprecate][#8491]
- #8492 [...
JRuby 9.4.12.0 Released
The JRuby community is pleased to announce the release of JRuby 9.4.12.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 9.4.12.x targets Ruby 3.1 compatibility.
Thank you to our contributors this release, you help keep JRuby moving forward!
Critical Fixes
- Added additional locking to the new Class#subclasses implementation to fix a concurrent modification error. #8602, #8603
Standard Library
- jar-dependencies upgraded to 0.5.4 to fix an issue parsing Maven output on Java versions 9 and higher. #8606, [#8515]
4 Issues and PRs resolved for 9.4.12.0
JRuby 9.4.11.0 Released
The JRuby community is pleased to announce the release of JRuby 9.4.11.0.
- Homepage: https://www.jruby.org/
- Download: https://www.jruby.org/download
JRuby 9.4.11.x targets Ruby 3.1 compatibility. This release fixes two critical bugs in JRuby 9.4.10.0 and we recommend users skip that version when upgrading.
Thank you to our contributors this release, you help keep JRuby moving forward!
- Karol Bucek @kares
Critical Fixes
- Fixed an issue where Mutex lock acquisition may leave the Mutex locked if an asynchronous Thread interrupt happens at the same time. #8585, #8586
- Fixed a memory leak where singleton classes would leave behind bookkeeping objects that accumulated over time. #8591, #8598
Standard Library
- rubygems been updated to version 3.6.3 to fix an incompatibility with bundler 2.6. #8590, #8596
- bundler has been updated to version 2.6.3. #8596
- jruby-openssl has been updated to 0.15.3. #8458, Release 0.15.3
- jar-dependencies has been updated to 0.5.3 to fix remaining issues loading Maven jars in containerized environments. #8593, #8595
9 Issues and PRs resolved for 9.4.11.0
- #8458 [deps] bump jruby-openssl to 0.15.3
- #8584 Remove dependency on jakarta.annotation-api
- #8585 Thread interrupt can leave Mutex locked in synchronize
- #8586 Unlock if poll triggers an exception
- #8590 Bundler v2.6.x is incomptible with Gem system version included in JRuby 9.4.10.0 by default
- #8591 Eliminate leak of non-concrete subclass references
- #8593 Cannot create a Rails app with JRuby 9.4.10.0, Rails 7.1.5.1
- #8595 Update jar-dependencies to 0.5.3
- #8596 Update rubygems to 3.6.3 and bundler to 2.6.3
- #8598 Memory leak from ActiveRecord_Relation after upgrading from JRuby 9.4.9.0 to 9.4.10.0