From 72171c3724100618bf2c733316d23ff7578eeaa1 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Thu, 5 Oct 2023 11:29:04 +0700 Subject: Make all existing tests run on JDK 21 This mostly affects pattern matching for switch and record patterns. Two tests which were working before for pattern matching for switch (preview 4), started to fail, so the corresponding code was commented out and https://github.com/eclipse-jdt/eclipse.jdt.core/issues/1466 recorded. Signed-off-by: Alexander Kriegisch --- .../org/aspectj/systemtest/ajc1921/ajc1921.xml | 404 ++++----------------- 1 file changed, 62 insertions(+), 342 deletions(-) (limited to 'tests/src/test/resources') diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml index 1199bb03a..73f2bdf5b 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc1921/ajc1921.xml @@ -1,19 +1,31 @@ - - - - + + + + @@ -28,28 +40,32 @@ + + + - + - + - - - - + + + + @@ -63,55 +79,58 @@ + + - + - + - + - - - + + + - + - + - + - + - + - + - + @@ -119,10 +138,10 @@ - + - - + + @@ -130,11 +149,11 @@ - + - + - + @@ -143,10 +162,10 @@ - + - - + + @@ -159,320 +178,21 @@ - + - + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3