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 --- tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj') diff --git a/tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj b/tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj index d224a94fc..ebe655f7b 100644 --- a/tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj +++ b/tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj @@ -8,7 +8,7 @@ import java.util.stream.Stream; /** * Examples taken from JEP 443 */ -public class UnnamedPatternsPreview1Aspect { +public aspect UnnamedPatternsPreview1Aspect { public static void main(String[] args) {} before() : execution(* main(String[])) { -- cgit v1.2.3