Revert "Reland "Target Java 17""

This reverts commit 1fbf7f21a4.

Reason for revert: broke docker image, pinning is incomplete it seems

Change-Id: I7102cb233a4fe5ce0f5a1ead98cfc661c3d82ce5
This commit is contained in:
Julien Desprez
2023-02-14 20:26:31 +00:00
committed by Gerrit Code Review
parent 1fbf7f21a4
commit 91ba6c7e01
3 changed files with 18 additions and 4 deletions

View File

@@ -723,6 +723,10 @@ func (c *config) IsEnvFalse(key string) bool {
return value == "0" || value == "n" || value == "no" || value == "off" || value == "false"
}
func (c *config) TargetsJava17() bool {
return c.IsEnvTrue("EXPERIMENTAL_TARGET_JAVA_VERSION_17")
}
// EnvDeps returns the environment variables this build depends on. The first
// call to this function blocks future reads from the environment.
func (c *config) EnvDeps() map[string]string {