CI: Bump Java version for JRuby - #777
Merged
Merged
Conversation
sunny
force-pushed
the
bump-java-version-for-jruby
branch
2 times, most recently
from
May 8, 2026 17:14
37242fa to
81703b0
Compare
sunny
marked this pull request as draft
May 8, 2026 17:14
JRuby 10.1.0.0 ships an activerecord-jdbc-adapter that calls `org.jruby.RubyHash.<init>(Ruby, int)`, a constructor removed in 10.1, so the DB rake tasks abort with a Java NoSuchMethodError. 10.0.5.0 is the last version that passed CI (the green run on main from 2026-04-13), so pin to it until arjdbc supports JRuby 10.1. Also fix the `Set up Java for JRuby` step: its `if: matrix.ruby-version == 'jruby'` never matched the pinned value, so it was dead. Use `startsWith(..., 'jruby')` so JRuby 10 actually gets Java 21. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Member
|
@sunny, jRuby 10.0.5.0 is the last jRuby version that passed CI (https://github.com/RubyMoney/money-rails/actions/runs/24328305109/job/71028214829) so we can pin it to that one until the latest version get's sorted out! Sorry for pushing to your branch without warning 😳 I'd love to unlock #780 and other PRs that might be broken because of this <3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.