Skip to content
Menu
Open World News Open World News
  • Privacy Policy
Open World News Open World News

JRuby 9.4.2.0 Released

Posted on March 9, 2023 by Michael G

Author: The JRuby Team
Source

The JRuby community is pleased to announce the release of JRuby 9.4.2.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! @k77ch7, @andsel

Ruby Compatibility

  • __callee__ now properly returns the name under which a method was called, which will be the new name in the case of aliased methods. #2305, #7702
  • More use cases for keyword arguments have been fixed to behave correctly and avoid extraneous warnings. #7637, #7645, #7657, #7658, #7670, #7672, #7686
  • Array#pack now supports more cases, passing nearly all specs. #7663
  • Compatibility with CRuby’s command-line arguments has been improved. #7678, #7680, #7681, #7681, #7683, #7684

Standard Library

  • irb is updated to 1.4.2. #7690, #7691
  • open-uri is updated to 0.3.0. #7701
  • io-wait is updated to 0.3.0. #7701
  • stringio is updated to 3.0.5. #7701
  • strscan is updated to 3.0.6. #7701
  • open3 is switched to using the gem at 0.1.2. #7701

Platform Support

  • Exception backtraces now default to color output when the controlling terminal is a TTY. Disable using -Xbacktrace.color=false or equivalent in .jrubyrc. #7693

Performance

  • String#split has been optimized to skip regular expression use for simple split expressions. Simple ASCII strings also split faster. #7629

54 Github Issues resolved for 9.4.2.0

  • #2305 – __callee__ behaves differently from MRI
  • #7477 – Integer#chr(encoding: Encoding::UTF_8) raises a different RangeError exception message than on CRuby
  • #7480 – Cannot call SubClass#initialize_copy with an object created from the super class
  • #7615 – opt != for fixnum in JIT/indy
  • #7629 – Split opts
  • #7637 – 9.4.1.0: Wrong number of arguments with kwargs when subclassing a java class
  • #7639 – Typing @ into irb in 9.4.1.0 crashes it
  • #7641 – “Port already in use” errors when configuring remote JMX in 9.4
  • #7642 – [9.4.1.0] ArrayIndexOutOfBoundsException
  • #7643 – Use SmartBinder to set up struct calls
  • #7645 – Fixes #7637. Arity error with kwargs when subclassing a java class
  • #7650 – BigDecimal arithmetic regression [jruby-9.4]
  • #7652 – Fix Float#to_d of bigdecimal/util
  • #7653 – Fix Struct#values_at when passed an integer Range argument for edge cases
  • #7655 – JIT coverage fixes
  • #7656 – Regression: Class variables in top level methods broken compared to MRI & 9.3
  • #7657 – Pattern matching unexpectedly raises “duplicated key name” error
  • #7658 – remove deplicated key name error
  • #7659 – Fix for #7656.
  • #7662 – END blocks had regressed and was calling same block >1
  • #7663 – Array#pack unknown directive warns
  • #7664 – All these work?
  • #7665 – Arity errors for ‘call’ things in Signal#trap
  • #7666 – Array#new size boundary error not tripping
  • #7667 – Kernel#respond_to? return wrong error string but right error.
  • #7668 – Array#to_s/inspect should be same method
  • #7669 – Proc#inspect with &:foo should print that out in str
  • #7670 – Probably method_missing is not handling keyword arguments properly [jruby-9.4.1.0]
  • #7671 – Binding local_variables makes sure they are lvars
  • #7672 – jruby-9.4.1.0 issues warning about duplicated keys
  • #7674 – Fix #7672. warning about duplicated keys
  • #7675 – JIT loses line numbers in some warnings?
  • #7678 – Add –encoding command line option.
  • #7679 – Spec sweep
  • #7680 – disabling RUBYOPT processing was not hooked up.
  • #7681 – Frozen string debugging off by one.
  • #7682 – The -p command line should use print and not puts.
  • #7683 – All -I provided relative paths shold be made absolute
  • #7684 – Fixed windowsJ encoding and do not set on invalid K values
  • #7685 – Add a warn form that takes a callback
  • #7686 – Fix #7670. Coverage data goes off the rails.
  • #7687 – Passing specs
  • #7690 – Update irb to version 1.4.2+
  • #7691 – Updates irb to 1.4.2
  • #7693 – Enable color if console is a tty
  • #7694 – Mimic CRuby’s range error logic for chr
  • #7696 – Make coderange set on strings created from some IO ops
  • #7700 – Define real error methods to avoid callee
  • #7701 – Update gems
  • #7702 – Encode new and old name in aliased calls
  • #7708 – Enumerator.new takes at most one arg
  • #7709 – Eliminate 2- and 3-arity paths for Enumerator#initialize
  • #7715 – We were quoting symbols in inspect we shouldnt have
  • #7716 – Add infra to support Ruby 3.1 pattern error messages.

Read more

Related Posts:

  • JRuby 9.4.1.0 Released
    JRuby 9.4.1.0 Released
  • JRuby 9.4.3.0 Released
    JRuby 9.4.3.0 Released
  • JRuby 9.4.4.0 Released
    JRuby 9.4.4.0 Released
  • JRuby 9.4.6.0 Released
    JRuby 9.4.6.0 Released
  • JRuby 9.4.10.0 Released
    JRuby 9.4.10.0 Released
  • JRuby 9.4.7.0 Released
    JRuby 9.4.7.0 Released

Recent Posts

  • [TUT] LoRa & LoRaWAN – MikroTik wAP LR8 kit mit The Things Network verbinden [4K | DE]
  • Mercado aguarda Powell e olha Trump, dados e Haddad | MINUTO TOURO DE OURO – 11/02/25
  • Dan Levy Gets Candid About Learning How To Act Differently After Schitt’s Creek: ‘It’s Physically…
  • Building a Rock Shelter & Overnight Stay in Heavy Snow 🏕️⛰️
  • Les milliardaires Elon Musk et Xavier Niel s’insultent copieusement

Categories

  • Android
  • Linux
  • News
  • Open Source
©2025 Open World News | Powered by Superb Themes
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT