diff --git a/tycho-its/projects/target.restriction.filter/META-INF/MANIFEST.MF b/tycho-its/projects/target.restriction.filter/META-INF/MANIFEST.MF index 62adcce8fe..f199b9f735 100644 --- a/tycho-its/projects/target.restriction.filter/META-INF/MANIFEST.MF +++ b/tycho-its/projects/target.restriction.filter/META-INF/MANIFEST.MF @@ -8,4 +8,4 @@ Require-Bundle: org.eclipse.osgi, org.junit Bundle-Activator: test.Activator Bundle-ActivationPolicy: lazy -Bundle-RequiredExecutionEnvironment: JavaSE-11 +Bundle-RequiredExecutionEnvironment: JavaSE-17 diff --git a/tycho-its/projects/target.restriction.filter/pom.xml b/tycho-its/projects/target.restriction.filter/pom.xml index b53eb55475..e282612e18 100644 --- a/tycho-its/projects/target.restriction.filter/pom.xml +++ b/tycho-its/projects/target.restriction.filter/pom.xml @@ -39,7 +39,7 @@ target-platform-configuration ${tycho-version} - JavaSE-11 + JavaSE-17 @@ -47,7 +47,7 @@ org.eclipse.osgi - [3.16,3.17) + [3.21,3.22) diff --git a/tycho-its/projects/target.restriction.filter/src/test/Test.java b/tycho-its/projects/target.restriction.filter/src/test/Test.java index 1d6563e8ec..dd3b3b0752 100644 --- a/tycho-its/projects/target.restriction.filter/src/test/Test.java +++ b/tycho-its/projects/target.restriction.filter/src/test/Test.java @@ -20,7 +20,7 @@ public class Test extends TestCase { public void test() { Version version = new Version((String) Activator.context.getBundle(0).getHeaders().get("Bundle-Version")); - assertTrue(version.compareTo(new Version("3.17")) < 0); + assertTrue(version.compareTo(new Version("3.22")) < 0); } } diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformFilteringIntegrationTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformFilteringIntegrationTest.java index 16c15c502d..38889f00f8 100644 --- a/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformFilteringIntegrationTest.java +++ b/tycho-its/src/test/java/org/eclipse/tycho/test/target/TargetPlatformFilteringIntegrationTest.java @@ -22,7 +22,7 @@ public class TargetPlatformFilteringIntegrationTest extends AbstractTychoIntegra @Test public void test() throws Exception { Verifier verifier = getVerifier("target.restriction.filter", false); - verifier.addCliOption("-De342-repo=" + "https:////download.eclipse.org/releases/2021-06/"); + verifier.addCliOption("-De342-repo=" + "https:////download.eclipse.org/releases/2024-09/"); verifier.addCliOption("-De352-repo=" + P2Repositories.ECLIPSE_LATEST.toString().replace("/", "//")); verifier.executeGoal("verify"); verifier.verifyErrorFreeLog();