From bc3e02bbc129c6a0531b66a348380eac56bd9f09 Mon Sep 17 00:00:00 2001 From: David Ostrovsky Date: Tue, 21 Jun 2022 08:23:58 +0200 Subject: [PATCH] ensure-java role: Bump default java_version to 11 Premier Support for Java 8 was discontinued on 31 March 2022: [1]. Even though Extended Support for Java 8 is still available until 2030, the vast majority of projects switched to Java 11 already and forced to pass java_version: 11. Bump the default and ask the projects that still rely on Java 8 to pass java_version: 8 to downgrade and use outdated Java releases. [1] https://www.oracle.com/java/technologies/java-se-support-roadmap.html Change-Id: I57d08039937d89881c7331293568dc510cabad19 --- roles/ensure-java/README.rst | 2 +- roles/ensure-java/defaults/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/ensure-java/README.rst b/roles/ensure-java/README.rst index 08eeb4328..0a2f77ab6 100644 --- a/roles/ensure-java/README.rst +++ b/roles/ensure-java/README.rst @@ -5,6 +5,6 @@ Installs the specified version of the JDK. **Role Variables** .. zuul:rolevar:: java_version - :default: 8 + :default: 11 Version of Java to install. diff --git a/roles/ensure-java/defaults/main.yaml b/roles/ensure-java/defaults/main.yaml index 9ed782db2..57ec84070 100644 --- a/roles/ensure-java/defaults/main.yaml +++ b/roles/ensure-java/defaults/main.yaml @@ -1 +1 @@ -java_version: 8 +java_version: 11