From d92ad42b8c9395f6e671aa6d61cce068def33160 Mon Sep 17 00:00:00 2001 From: "Mateusz \"Serafin\" Gajewski" Date: Tue, 23 Jan 2024 13:45:31 +0100 Subject: [PATCH] Remove JDK 19 and 20 support in product tests --- .../env/jdk/Temurin19JdkProvider.java | 33 ------------------- .../env/jdk/Temurin20JdkProvider.java | 33 ------------------- 2 files changed, 66 deletions(-) delete mode 100644 testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin19JdkProvider.java delete mode 100644 testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin20JdkProvider.java diff --git a/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin19JdkProvider.java b/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin19JdkProvider.java deleted file mode 100644 index 45d3c727536f..000000000000 --- a/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin19JdkProvider.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.trino.tests.product.launcher.env.jdk; - -import com.google.inject.Inject; -import io.trino.tests.product.launcher.env.EnvironmentOptions; - -public class Temurin19JdkProvider - extends AdoptiumApiResolvingJdkProvider -{ - @Inject - public Temurin19JdkProvider(EnvironmentOptions environmentOptions) - { - super(environmentOptions); - } - - @Override - protected String getReleaseName() - { - return "jdk-19.0.2+7"; - } -} diff --git a/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin20JdkProvider.java b/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin20JdkProvider.java deleted file mode 100644 index 65ae7713e642..000000000000 --- a/testing/trino-product-tests-launcher/src/main/java/io/trino/tests/product/launcher/env/jdk/Temurin20JdkProvider.java +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.trino.tests.product.launcher.env.jdk; - -import com.google.inject.Inject; -import io.trino.tests.product.launcher.env.EnvironmentOptions; - -public class Temurin20JdkProvider - extends AdoptiumApiResolvingJdkProvider -{ - @Inject - public Temurin20JdkProvider(EnvironmentOptions environmentOptions) - { - super(environmentOptions); - } - - @Override - protected String getReleaseName() - { - return "jdk-20.0.2+9"; - } -}