aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2024-03-22 18:25:56 +0100
committerAlexander Kriegisch <Alexander@Kriegisch.name>2024-03-23 20:22:39 +0100
commitdcc2fd168c30a6d4293f3ceade2e95d822e67e36 (patch)
tree5377d8b90100fdf1330ff8e8fa7da40dc9b77415 /tests/src/test/java/org/aspectj/systemtest
parent85b91b2f8427b654876b4511a16e9c5e2fa0e8a3 (diff)
downloadaspectj-dcc2fd168c30a6d4293f3ceade2e95d822e67e36.tar.gz
aspectj-dcc2fd168c30a6d4293f3ceade2e95d822e67e36.zip
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 <Alexander@Kriegisch.name>
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc161/Ajc161Tests.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc161/Ajc161Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc161/Ajc161Tests.java
index 5822a3f7c..11f24c2b1 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc161/Ajc161Tests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc161/Ajc161Tests.java
@@ -54,12 +54,18 @@ public class Ajc161Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("ataspectj deow - 2");
}
+ public void testRunningBrokenCode_pr102733() {
+ // TODO: Revert, when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2205 is fixed
+ runTest("running broken code");
+ }
+
public void testRunningBrokenCode_pr102733_2() {
runTest("running broken code - 2");
}
- public void testRunningBrokenCode_pr102733() {
- runTest("running broken code");
+ public void testRunningBrokenCode_pr102733_3() {
+ // TODO: Adjust as necessary, when https://github.com/eclipse-jdt/eclipse.jdt.core/issues/2205 is fixed
+ runTest("running broken code - 3");
}
public void testErrorOnNonabstractGenericAtAspectJAspect_pr168982() {