From dcc2fd168c30a6d4293f3ceade2e95d822e67e36 Mon Sep 17 00:00:00 2001 From: Alexander Kriegisch Date: Fri, 22 Mar 2024 18:25:56 +0100 Subject: Adjust 1.6.1 'testRunningBrokenCode_pr102733*' tests ECJ Java 22 Initially, these tests made sure that an old AJC bug causing incompatibility to ECJ when using `-proceedOnError` was fixed and there were no regressions. See also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=102733 Now with the Java 22 changes for JEP 463 "Implicitly Declared Classes and Instance Main Methods (Second Preview)" in JDT Core, source code is parsed into a significantly different AST structure than before, even when using compiler targets < 22. See also https://openjdk.org/jeps/463. One test has been temporarily adjusted to the byte code created by ECJ/AJC now. TODO: Revert/adjust after this upstream bug has been fixed: https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2205 Signed-off-by: Alexander Kriegisch --- .../org/aspectj/systemtest/ajc161/ajc161.xml | 105 ++++++++++++--------- 1 file changed, 58 insertions(+), 47 deletions(-) (limited to 'tests/src/test/resources/org') diff --git a/tests/src/test/resources/org/aspectj/systemtest/ajc161/ajc161.xml b/tests/src/test/resources/org/aspectj/systemtest/ajc161/ajc161.xml index abc3e058e..8a1798b8b 100644 --- a/tests/src/test/resources/org/aspectj/systemtest/ajc161/ajc161.xml +++ b/tests/src/test/resources/org/aspectj/systemtest/ajc161/ajc161.xml @@ -11,17 +11,17 @@ - + - + - + @@ -35,65 +35,76 @@ - + - + - + - + - + - + - - + + + + + + - + - + + + + + + + + - + - + - + @@ -106,7 +117,7 @@ - + @@ -123,7 +134,7 @@ - + @@ -139,24 +150,24 @@ - + - + - + - + @@ -172,7 +183,7 @@ - + @@ -196,12 +207,12 @@ - + - + @@ -219,7 +230,7 @@ - + @@ -236,8 +247,8 @@ - - + + @@ -255,7 +266,7 @@ - + @@ -264,14 +275,14 @@ - - + + - - + + @@ -281,21 +292,21 @@ - + - - + + - - + + - - + + @@ -304,18 +315,18 @@ - - + + - + - - - + + + - \ No newline at end of file + -- cgit v1.2.3