Skip to content

Fail with a useful error message if Gradle is run on JDK < 24 #46625

@mhalbritter

Description

@mhalbritter

As we now have JSpecify and NullAway in our build, we should configure our build to always compile with JDK 24, no matter what JDK is used to run Gradle.

Compiling with JDK 17 fails because of a compiler bug, which is fixed in 24 (and maybe get backported to 17).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions