Skip to content

Commit 1a2a80d

Browse files
yahondaclaude
andcommitted
Use Oracle JDK 21 for JRuby CI
Switch the Java setup from Temurin 17 to Oracle JDK 21: - Oracle JDK matches the distribution most ruby-plsql users run in production alongside the Oracle JDBC driver, making the CI environment more representative. - Java 21 is the current LTS, satisfies ojdbc17's Java 17+ requirement, and matches what JRuby 10.0.5.0 is compiled against (class file 65). - Oracle JDK 21 is available at no cost under the NFTC license. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 3a532c6 commit 1a2a80d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/jruby_head.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: Set up Java
4343
uses: actions/setup-java@v4
4444
with:
45-
distribution: temurin
46-
java-version: '17'
45+
distribution: oracle
46+
java-version: '21'
4747
- name: Set up Ruby
4848
uses: ruby/setup-ruby@v1
4949
with:

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ jobs:
4747
if: startsWith(matrix.ruby, 'jruby')
4848
uses: actions/setup-java@v4
4949
with:
50-
distribution: temurin
51-
java-version: '17'
50+
distribution: oracle
51+
java-version: '21'
5252
- name: Set up Ruby
5353
uses: ruby/setup-ruby@v1
5454
with:

0 commit comments

Comments
 (0)