Skip to content

Commit 3e32cbb

Browse files
xerialclaude
andauthored
Add JDK 25 to CI test matrix (#703)
Update CI to test on JDK 25 (LTS) and remove JDK 24 (non-LTS). Changes: - Replace JDK 24 with JDK 25 in test matrix - Add --enable-native-access=ALL-UNNAMED flag for JDK 24+ tests - This ensures native library loading works correctly per JEP 472 The CI now tests on: JDK 8, 11, 17, 21, 25 (all LTS versions plus latest) Related to #689 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 92540f3 commit 3e32cbb

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
test-jdk:
4242
strategy:
4343
matrix:
44-
version: [ '8', '11', '17', '21', '24' ]
44+
version: [ '8', '11', '17', '21', '25' ]
4545
name: test jdk${{ matrix.version }}
4646
needs: changes
4747
if: ${{ needs.changes.outputs.code == 'true' }}
@@ -58,4 +58,8 @@ jobs:
5858
key: ${{ runner.os }}-jdk${{ matrix.version }}-${{ hashFiles('**/*.sbt') }}
5959
restore-keys: ${{ runner.os }}-jdk${{ matrix.version }}-
6060
- name: Test
61-
run: ./sbt test
61+
run: |
62+
if [ "${{ matrix.version }}" -ge "24" ]; then
63+
export _JAVA_OPTIONS="--enable-native-access=ALL-UNNAMED"
64+
fi
65+
./sbt test

0 commit comments

Comments
 (0)