aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc150
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc150')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc150/Ajc150Tests.java16
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java5
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc150/ataspectj/AtAjAnnotationGenTests.java4
3 files changed, 9 insertions, 16 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc150/Ajc150Tests.java b/tests/src/test/java/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index bfa50c8a4..6bb7a05dc 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -141,7 +141,9 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("privilege problem with switch");
}
- public void testRangeProblem_pr109614() {
+ // Test no longer relevant. With the LDC instruction now supporting class constants we don't generate the code that
+ // tries a class.forname and catches the exception that the advice here tries to advise.
+ public void xtestRangeProblem_pr109614() {
runTest("Range problem");
}
@@ -233,10 +235,6 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("autoboxing around advice - 2");
}
- public void testAutoboxingAroundAdvice_pr119210_3() {
- runTest("autoboxing around advice - 3");
- }
-
public void testBadDecp_pr110788_1() {
runTest("bad generic decp - 1");
}
@@ -812,8 +810,8 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("default impl of Runnable");
}
- public void testArrayCloneCallJoinPoints() {
- runTest("array clone call join points in 1.4 vs 1.3");
+ public void testArrayCloneCallJoinPoint() {
+ runTest("array clone call join point");
}
public void testDebugInfoForAroundAdvice() {
@@ -836,10 +834,6 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("ITDC with no explicit cons call");
}
- public void testJava5SpecificFeaturesUsedAtJava14OrLower() {
- runTest("java 5 pointcuts and declares at pre-java 5 compliance levels - 1.7");
- }
-
public void testAnonymousTypes() {
runTest("Anonymous types and nome matching");
}
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java
index ac432a706..86f426edb 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java
@@ -529,7 +529,10 @@ public class GenericsTests extends XMLBasedAjcTestCase {
public void testGenericITDsBridgeMethodsPR91381() {runTest("abstract intertype methods and covariant returns");}
- public void testGenericITDsBridgeMethodsPR91381_2() {runTest("abstract intertype methods and covariant returns - error");}
+
+ // Changed with Java23 because can no longer compile with -1.4 flag so the only way to get the expected error is
+ // to violate covariant returns more explicitly
+ public void testGenericITDsBridgeMethodsPR91381_2() {runTest("abstract intertype methods and covariant returns - 2");}
// ----------------------------------------------------------------------------------------
// generic declare parents tests
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc150/ataspectj/AtAjAnnotationGenTests.java b/tests/src/test/java/org/aspectj/systemtest/ajc150/ataspectj/AtAjAnnotationGenTests.java
index acd4779f0..67ed9fa8a 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc150/ataspectj/AtAjAnnotationGenTests.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc150/ataspectj/AtAjAnnotationGenTests.java
@@ -35,10 +35,6 @@ public class AtAjAnnotationGenTests extends XMLBasedAjcTestCase {
runTest("annotation gen for simple aspect");
}
- public void testSimpleAspectIn14Mode() {
- runTest("annotation gen for simple aspect pre 1.5");
- }
-
public void testAspectAlreadyAnnotated() {
runTest("annotation gen for simple annotated aspect");
}