aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-08-10 11:08:56 +0000
committeracolyer <acolyer>2004-08-10 11:08:56 +0000
commit44a92e1a04f8f2f1a862f15f9d0b9ed761d05fd4 (patch)
treefbbd8c96791ea1ffe010580db25ad89d0eaff681 /tests/src
parentc3d5f40edf027600d5ed5e7ec0cc391bf9b56859 (diff)
downloadaspectj-44a92e1a04f8f2f1a862f15f9d0b9ed761d05fd4.tar.gz
aspectj-44a92e1a04f8f2f1a862f15f9d0b9ed761d05fd4.zip
fix for Bugzilla Bug 59208
Weaver fails in BCEL for large classe
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java8
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml20
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
index 377a0eb88..1c400a562 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
@@ -119,5 +119,13 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
// public void test020_branchTargetOffsetTooLargeForShort() {
// runTest("Branch target offset too large for short");
// }
+
+// public void test021_BcelFailureWithVeryLargeClasses() {
+// runTest("Weaver fails in BCEL for large classes");
+// }
+//
+// public void test022_BcelFailureWithVeryLargeClasses_Binary() {
+// runTest("Weaver fails in BCEL for large classes (binary)");
+// }
}
diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
index 10b51fede..4ea2144c8 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
@@ -163,4 +163,24 @@
title="Branch target offset too large for short">
<compile files="VeryLongBranch.java"/>
</ajc-test>
+-->
+
+<!-- these next two tests commented out as they take minutes to run - reinstate if you need to
+ investigate 59208 for any reason
+ <ajc-test dir="bugs/pr59208" pr="59208"
+ title="Weaver fails in BCEL for large classes">
+ <compile files="Foo.java, A.aj">
+ <message kind="error" line="0" text="constant pool too big"></message>
+ </compile>
+ </ajc-test>
+
+
+ <ajc-test dir="bugs/pr59208" pr="59208"
+ title="Weaver fails in BCEL for large classes (binary)">
+ <compile
+ aspectpath="test.jar"
+ inpath="classes">
+ <message kind="error" line="0" text="constant pool too big"></message>
+ </compile>
+ </ajc-test>
--> \ No newline at end of file