aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java')
-rw-r--r--tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java21
1 files changed, 11 insertions, 10 deletions
diff --git a/tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java b/tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java
index ed2d22c21..6be412ca3 100644
--- a/tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java
+++ b/tests/src/test/java/org/aspectj/systemtest/ajc1610/NewFeatures.java
@@ -18,16 +18,17 @@ import junit.framework.Test;
public class NewFeatures extends org.aspectj.testing.XMLBasedAjcTestCase {
- public void testMakeSJPOptimizationLDCNo() {
- this.runTest("makeSJP optimization - LDC - No");
- try {
- JavaClass myClass = getMyClass("B");
- Method preClinitMethod = getPreClinitMethod(myClass);
- NewFeatures.assertTrue("For 1.4 it must use classForName", preClinitMethod.getCode().toString().contains("forName"));
- } catch (Exception e) {
- NewFeatures.fail(e.toString());
- }
- }
+ // With Java23 marking anything < 1.8 as obsolete, test no longer valid, I think.
+// public void testMakeSJPOptimizationLDCNo() {
+// this.runTest("makeSJP optimization - LDC - No");
+// try {
+// JavaClass myClass = getMyClass("B");
+// Method preClinitMethod = getPreClinitMethod(myClass);
+// NewFeatures.assertTrue("For 1.4 it must use classForName", preClinitMethod.getCode().toString().contains("forName"));
+// } catch (Exception e) {
+// NewFeatures.fail(e.toString());
+// }
+// }
@SuppressWarnings("unused")
public void testMakeSJPOptimizationCollapsedSJPYes14() {