Skip to content

CI: Bump Java version for JRuby - #777

Merged
sunny merged 3 commits into
mainfrom
bump-java-version-for-jruby
May 27, 2026
Merged

CI: Bump Java version for JRuby#777
sunny merged 3 commits into
mainfrom
bump-java-version-for-jruby

Conversation

@sunny

@sunny sunny commented May 8, 2026

Copy link
Copy Markdown
Member

No description provided.

@sunny
sunny force-pushed the bump-java-version-for-jruby branch 2 times, most recently from 37242fa to 81703b0 Compare May 8, 2026 17:14
@sunny
sunny marked this pull request as draft May 8, 2026 17:14
sunny and others added 2 commits May 8, 2026 19:17
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>
@yukideluxe

Copy link
Copy Markdown
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

@yukideluxe
yukideluxe marked this pull request as ready for review May 27, 2026 15:01
@sunny
sunny merged commit 27e49ce into main May 27, 2026
8 checks passed
@sunny
sunny deleted the bump-java-version-for-jruby branch May 27, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants