Skip to content

WIP: Test against Java 24 #19514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: trunk
Choose a base branch
from
Draft

WIP: Test against Java 24 #19514

wants to merge 2 commits into from

Conversation

srdo
Copy link
Contributor

@srdo srdo commented Apr 18, 2025

WIP: This PR still uses a Gradle 8.14 RC, and Spotbugs 4.9.4 has not
released yet, so testing it requires a local build.

Upgrade Scala to 2.13.16, in order to get a Java 24-compatible ASM
version.

Upgrade Gradle to 8.14, which is the first Java 24 compatible version.

Upgrade spotbugs to 4.9.4. This is the minimum version that's both Java
24 compatible, and not affected by
spotbugs/spotbugs#3320

Since the new spotbugs version introduces some extra checks, this commit
excludes those warnings, without looking at whether they are real issues
or false positives.

Addressing those warnings is left as future work, since the code is no
worse now than before the issues were highlighted.

ijuma and others added 2 commits April 18, 2025 14:19
Upgrade Scala to 2.13.16, in order to get a Java 24-compatible ASM version.

Upgrade Gradle to 8.14, which is the first Java 24 compatible version.

Upgrade spotbugs to 4.9.4. This is the minimum version that's both
Java 24 compatible, and not affected by spotbugs/spotbugs#3320

Since the new spotbugs version introduces some extra checks, this commit
excludes those warnings, without looking at whether they are real issues
or false positives.
@github-actions github-actions bot added triage PRs from the community dependencies Pull requests that update a dependency file build Gradle build or GitHub Actions labels Apr 18, 2025
@srdo srdo changed the title WIP: Build with Java 24 WIP: Test with Java 24 Apr 18, 2025
@srdo srdo changed the title WIP: Test with Java 24 WIP: Test against Java 24 Apr 18, 2025
@srdo srdo marked this pull request as draft April 18, 2025 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Gradle build or GitHub Actions dependencies Pull requests that update a dependency file triage PRs from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants