]> source.dussan.org Git - aspectj.git/commitdiff
workaround for jrockit potential bug (see pr1054290
authoracolyer <acolyer>
Tue, 6 Dec 2005 03:49:41 +0000 (03:49 +0000)
committeracolyer <acolyer>
Tue, 6 Dec 2005 03:49:41 +0000 (03:49 +0000)
tests/new/AroundVoid.java
tests/src/org/aspectj/systemtest/ajc10x/Ajc10xTests.java

index 8d4393c9d79e663cc2d678aedf64115c3635bd9e..7f0f1dd49788d72ce6a171cae0a877ef530c6cb0 100644 (file)
@@ -52,6 +52,7 @@ class C {
         while (true) {
             int x = 0;
             int y = 2/x;
+            throw new ArithmeticException();
         }
     }
 
index 36dc78cd6ab1351e83572752fb938d41512876c3..dc0b1858e4b08e1f0bc14b7e6b6ca8b940754dca 100644 (file)
@@ -911,7 +911,7 @@ public class Ajc10xTests extends org.aspectj.testing.XMLBasedAjcTestCase {
 
   public void test222(){
       //FIXME AV - infinite loop on JRockit in m5 advice - don't know why
-      //runTest("unreachable code generated by around advice on the execution of void methods");
+      runTest("unreachable code generated by around advice on the execution of void methods");
   }
 
   public void test223(){