Skip to content

Run forbidden APIs checks in a forked JVM so we can run it for any version #31715

@alpar-t

Description

@alpar-t

The forbidden APIs precommit check runs with the same Java version as Gradle, creating tight coupling between our build JDK and runtime JVM setting. We would like to run this check forked, so we can run it with the runtime JVM regardless of what's being used to build the project.
Since we already require env vars for the Java home of different versions, we could also run it for multiple java versions if so desired.

Metadata

Metadata

Assignees

Labels

:Delivery/BuildBuild or test infrastructureTeam:DeliveryMeta label for Delivery team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions