Skip to content

Build with JDK 25 while targeting Java 17 - #4650

Open
rvandermeulen wants to merge 1 commit into
mozilla-mobile:masterfrom
rvandermeulen:jdk-25
Open

rvandermeulen wants to merge 1 commit into
mozilla-mobile:masterfrom
rvandermeulen:jdk-25

Conversation

@rvandermeulen

Copy link
Copy Markdown
Contributor

Pull Request checklist

jvmToolchain(17) made Gradle run javac, lint and tests on a real JDK 17. The Java and Kotlin target is now set directly from Config.jvmTargetCompatibility, so the build runs on whatever JDK runs Gradle, and CI installs OpenJDK 25. Firefox's Android build made the same switch in bug 1785929.

`jvmToolchain(17)` made Gradle run javac, lint and tests on a real JDK 17. The Java and Kotlin target is now
set directly from `Config.jvmTargetCompatibility`, so the build runs on whatever JDK runs Gradle, and CI
installs OpenJDK 25.
@rvandermeulen
rvandermeulen requested a review from a team as a code owner November 8, 2026 19:27
@rvandermeulen
rvandermeulen requested review from bhearsum and jonalmeida and removed request for a team and bhearsum November 8, 2026 19:27
@rvandermeulen rvandermeulen added the needs landing Auto lands approved and green PRs. label Nov 8, 2026
@mergify

mergify Bot commented Nov 8, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs landing Auto lands approved and green PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant