From 5a223d492823aeb1d5d655792193675811deb84a Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Fri, 22 Mar 2024 20:53:10 +0100 Subject: Switch to Java 22 + add basic test suite The tests from Java 21 were copied to 22. Inactive ones were activated after their features under test were fixed/implemented. Preview ones were promotes to final ones for unnamed variables and patterns. TODO: Add tests for new Java 22 features and maybe adjust or amend existing feature tests, if preview or final characteristics have changed since Java 21. Signed-off-by: Alexander Kriegisch --- .../org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java') diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java b/tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java index 2fd5e8ef8..086c989ca 100644 --- a/tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java +++ b/tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java @@ -32,8 +32,6 @@ public class Java21PreviewFeaturesTests extends JavaVersionSpecificXMLBasedAjcTe /** * Still not implemented with the Java 21 release Eclipse 2023-12 (4.30), * see GitHub issue 893. - *

- * TODO: Activate after JDT Core implementation and merge. */ public void testUnnamedPatterns() { //runTest("unnamed patterns"); @@ -43,8 +41,6 @@ public class Java21PreviewFeaturesTests extends JavaVersionSpecificXMLBasedAjcTe /** * Still not implemented with the Java 21 release Eclipse 2023-12 (4.30), * see GitHub issue 893. - *

- * TODO: Activate after JDT Core implementation and merge. */ public void testUnnamedPatternsAspect() { //runTest("unnamed patterns aspect"); @@ -73,8 +69,6 @@ public class Java21PreviewFeaturesTests extends JavaVersionSpecificXMLBasedAjcTe /** * Still not implemented with the Java 21 release Eclipse 2023-12 (4.30), * see GitHub issue 1106. - *

- * TODO: Activate after JDT Core implementation and merge. */ public void testUnnamedClassWithSimpleMainMethod() { //runTest("unnamed class with simple main method"); -- cgit v1.2.3