diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-03-22 20:53:10 +0100 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2024-03-23 20:22:39 +0100 |
commit | 5a223d492823aeb1d5d655792193675811deb84a (patch) | |
tree | 5b7900a3f70cd037fa0b2f60b346cd8839b2dccf /tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj | |
parent | dcc2fd168c30a6d4293f3ceade2e95d822e67e36 (diff) | |
download | aspectj-5a223d492823aeb1d5d655792193675811deb84a.tar.gz aspectj-5a223d492823aeb1d5d655792193675811deb84a.zip |
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 <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj')
-rw-r--r-- | tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj | 2 |
1 files changed, 1 insertions, 1 deletions
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 <a href="https://openjdk.org/jeps/443">JEP 443</a> */ -public class UnnamedPatternsPreview1Aspect { +public aspect UnnamedPatternsPreview1Aspect { public static void main(String[] args) {} before() : execution(* main(String[])) { |