]> source.dussan.org Git - aspectj.git/commitdiff
fix for Bugzilla Bug 70201
authoracolyer <acolyer>
Tue, 10 Aug 2004 09:21:43 +0000 (09:21 +0000)
committeracolyer <acolyer>
Tue, 10 Aug 2004 09:21:43 +0000 (09:21 +0000)
  Branch target offset too large for short

tests/src/org/aspectj/systemtest/ajc121/Ajc121Tests.java
tests/src/org/aspectj/systemtest/ajc121/ajc121-tests.xml

index 32eb250b9ef1a9ea054658205c2aeec216709f43..377a0eb88e68e6842b6a2e1358e78cc98f189c9e 100644 (file)
@@ -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");
+//  }
 }
 
index 8d2f2145344e97e6f8ea30b9909fc898c626a2c1..10b51feded990b85b943832db35daf3e0027ce5a 100644 (file)
        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