From 254770dc9466dfa3f2e2f4d46d9c082c16e37fec Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Fri, 22 Sep 2023 15:52:05 +0200 Subject: [PATCH] Using Java 17 as default instead of Java 1.8 in the org.eclipse.pde.ui.templates.tests As we require Java 17 in the latest release, seems reasonable to set this also as default for the tests. --- .../org/eclipse/pde/ui/templates/tests/TestPDETemplates.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/org.eclipse.pde.ui.templates.tests/src/org/eclipse/pde/ui/templates/tests/TestPDETemplates.java b/ui/org.eclipse.pde.ui.templates.tests/src/org/eclipse/pde/ui/templates/tests/TestPDETemplates.java index c97f22cfd2..dc6980b63d 100644 --- a/ui/org.eclipse.pde.ui.templates.tests/src/org/eclipse/pde/ui/templates/tests/TestPDETemplates.java +++ b/ui/org.eclipse.pde.ui.templates.tests/src/org/eclipse/pde/ui/templates/tests/TestPDETemplates.java @@ -115,7 +115,7 @@ private static void createProjectWithTemplate() data.setHasBundleStructure(true); data.setSourceFolderName("src"); data.setOutputFolderName("bin"); - data.setExecutionEnvironment("JavaSE-1.8"); + data.setExecutionEnvironment("JavaSE-17"); String version = System.getProperty("java.specification.version"); //$NON-NLS-1$ int ver = -1; try {