From da67ee2e384cbb87730fee03cfb7665626e03a89 Mon Sep 17 00:00:00 2001 From: Ed Merks Date: Thu, 18 Jun 2026 14:55:23 +0200 Subject: [PATCH 1/2] The error message for ant launch and the test should be for Java 17 https://github.com/eclipse-platform/eclipse.platform/issues/2776 --- .../AntLaunchConfigurationMessages.properties | 2 +- .../launching/launchConfigurations/AntLaunchDelegate.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchConfigurationMessages.properties b/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchConfigurationMessages.properties index 024c12ac8a9..a953f28c368 100644 --- a/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchConfigurationMessages.properties +++ b/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchConfigurationMessages.properties @@ -14,7 +14,7 @@ ############################################################################### AntLaunchDelegate_Launching__0__1=Launching {0} -AntLaunchDelegate_Launching__0__2=JRE version less than 11 is not supported. +AntLaunchDelegate_Launching__0__2=JRE version less than 17 is not supported. AntLaunchDelegate_Running__0__2=Running {0} AntLaunchDelegate_Build_In_Progress=Ant build {0} already in progress. Concurrent Ant builds are possible if you specify to build in a separate JRE. AntLaunchDelegate_Failure=Failure of Background Ant Build diff --git a/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java b/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java index 585695e9095..79629b6e62d 100644 --- a/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java +++ b/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/AntLaunchDelegate.java @@ -131,7 +131,7 @@ public void launch(ILaunchConfiguration configuration, String mode, ILaunch laun vmver = vmver.substring(0, 3); } // int ver = (int) (CompilerOptions.versionToJdkLevel(vmver) >>> 16); - if (JavaCore.compareJavaVersions(vmver, JavaCore.VERSION_11) < 0) { + if (JavaCore.compareJavaVersions(vmver, JavaCore.VERSION_17) < 0) { boolean useDefault = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, true); if (useDefault) { IStatus status = new Status(IStatus.ERROR, AntLaunching.PLUGIN_ID, 1, AntLaunchConfigurationMessages.AntLaunchDelegate_Launching__0__2, null); From 6f5f001a6d5012a97a303995e0135dcb104cfc5a Mon Sep 17 00:00:00 2001 From: Eclipse Platform Bot Date: Thu, 18 Jun 2026 13:01:04 +0000 Subject: [PATCH 2/2] Version bump(s) for 4.41 stream --- ant/org.eclipse.ant.launching/META-INF/MANIFEST.MF | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ant/org.eclipse.ant.launching/META-INF/MANIFEST.MF b/ant/org.eclipse.ant.launching/META-INF/MANIFEST.MF index 2792403d410..c614e9ac691 100644 --- a/ant/org.eclipse.ant.launching/META-INF/MANIFEST.MF +++ b/ant/org.eclipse.ant.launching/META-INF/MANIFEST.MF @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2 Bundle-Localization: plugin Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.ant.launching;singleton:=true -Bundle-Version: 1.4.1100.qualifier +Bundle-Version: 1.4.1200.qualifier Bundle-Activator: org.eclipse.ant.internal.launching.AntLaunching Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.29.0,4.0.0)", org.eclipse.debug.core;bundle-version="[3.12.0,4.0.0)",