aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoracolyer <acolyer>2004-08-10 09:21:43 +0000
committeracolyer <acolyer>2004-08-10 09:21:43 +0000
commitc3d5f40edf027600d5ed5e7ec0cc391bf9b56859 (patch)
treef8584d4fb7d7ec95a1803bf286f6fde5b978e929 /tests/src
parentce1e477ecd9244c49b86fb3d7ea884e09e2ba6ee (diff)
downloadaspectj-c3d5f40edf027600d5ed5e7ec0cc391bf9b56859.tar.gz
aspectj-c3d5f40edf027600d5ed5e7ec0cc391bf9b56859.zip
fix for Bugzilla Bug 70201
Branch target offset too large for short
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java5
-rw-r--r--tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml11
2 files changed, 15 insertions, 1 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
index 32eb250b9..377a0eb88 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
@@ -114,5 +114,10 @@ public class Ajc121Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("Cannot advise private field gets in around advice");
System.err.println(getLastRunResult().getStdErr());
}
+
+// test takes over 5 minutes to run, so not included in normal suite run
+// public void test020_branchTargetOffsetTooLargeForShort() {
+// runTest("Branch target offset too large for short");
+// }
}
diff --git a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
index 8d2f21453..10b51fede 100644
--- a/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
+++ b/tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml
@@ -154,4 +154,13 @@
title="Cannot advise private field gets in around advice">
<compile files="FieldGetJoinPointsInAroundAdvice.java"/>
<run class="FieldGetJoinPointsInAroundAdvice"/>
- </ajc-test> \ No newline at end of file
+ </ajc-test>
+
+<!--
+ commented out as test takes over 5 minutes to run - reinstate if you need to investigate 70201 for
+ any reason.
+ <ajc-test dir="bugs" pr="70201"
+ title="Branch target offset too large for short">
+ <compile files="VeryLongBranch.java"/>
+ </ajc-test>
+--> \ No newline at end of file