diff --git a/base/src/main/java/io/quarkus/code/service/PlatformService.java b/base/src/main/java/io/quarkus/code/service/PlatformService.java index b74e55faa..55bd6b069 100644 --- a/base/src/main/java/io/quarkus/code/service/PlatformService.java +++ b/base/src/main/java/io/quarkus/code/service/PlatformService.java @@ -178,10 +178,6 @@ private void reloadPlatformServiceCache() throws RegistryResolutionException, IO SortedSet compatibleJavaLTSVersions = getCompatibleLTSVersions( new JavaVersion(minimumJavaVersion)); - if (platformKey.equals("com.redhat.quarkus.platform")) { - // Hack to remove 21 support from code.quarkus.redhat.com - compatibleJavaLTSVersions.remove(21); - } int recommendedJavaVersion = Optional.ofNullable(getRecommendedJavaVersion(extensionCatalog)) .map(Integer::parseInt).orElse(compatibleJavaLTSVersions.stream().findFirst().orElseThrow()); String quarkusCoreVersion = stream.getRecommendedRelease().getQuarkusCoreVersion(); @@ -312,4 +308,4 @@ public record PlatformServiceCache( LocalDateTime cacheLastUpdated, String platformTimestamp) { } -} \ No newline at end of file +}