]> source.dussan.org Git - aspectj.git/commit
Switch to Java 22 + add basic test suite
authorAlexander Kriegisch <Alexander@Kriegisch.name>
Fri, 22 Mar 2024 19:53:10 +0000 (20:53 +0100)
committerAlexander Kriegisch <Alexander@Kriegisch.name>
Sat, 23 Mar 2024 19:22:39 +0000 (20:22 +0100)
commit5a223d492823aeb1d5d655792193675811deb84a
tree5b7900a3f70cd037fa0b2f60b346cd8839b2dccf
parentdcc2fd168c30a6d4293f3ceade2e95d822e67e36
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>
16 files changed:
docs/devguide/ajc.adoc
docs/release/README-1.9.21.adoc
org.aspectj.ajdt.core/src/main/resources/org/aspectj/org/eclipse/jdt/internal/compiler/batch/messages_aspectj.properties
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
tests/features1921/java21/UnnamedPatternsPreview1Aspect.aj
tests/src/test/java/org/aspectj/systemtest/AllTests19.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/AllTestsAspectJ1921.java
tests/src/test/java/org/aspectj/systemtest/ajc1921/Java21PreviewFeaturesTests.java
tests/src/test/java/org/aspectj/systemtest/ajc1922/Ajc1922TestsJava.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc1922/AllTestsAspectJ1922.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc1922/Bugs1922Tests.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc1922/Java22PreviewFeaturesTests.java [new file with mode: 0644]
tests/src/test/java/org/aspectj/systemtest/ajc1922/SanityTestsJava22.java [new file with mode: 0644]
tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml
tests/src/test/resources/org/aspectj/systemtest/ajc1922/ajc1922.xml [new file with mode: 0644]
tests/src/test/resources/org/aspectj/systemtest/ajc1922/sanity-tests-22.xml [new file with mode: 0644]