From: acolyer Date: Tue, 6 Dec 2005 03:49:41 +0000 (+0000) Subject: workaround for jrockit potential bug (see pr1054290 X-Git-Tag: V1_5_0RC1~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3c8832b332f94bc05e7db48f414cc4a537407eb1;p=aspectj.git workaround for jrockit potential bug (see pr1054290 --- diff --git a/tests/new/AroundVoid.java b/tests/new/AroundVoid.java index 8d4393c9d..7f0f1dd49 100644 --- a/tests/new/AroundVoid.java +++ b/tests/new/AroundVoid.java @@ -52,6 +52,7 @@ class C { while (true) { int x = 0; int y = 2/x; + throw new ArithmeticException(); } } diff --git a/tests/src/org/aspectj/systemtest/ajc10x/Ajc10xTests.java b/tests/src/org/aspectj/systemtest/ajc10x/Ajc10xTests.java index 36dc78cd6..dc0b1858e 100644 --- a/tests/src/org/aspectj/systemtest/ajc10x/Ajc10xTests.java +++ b/tests/src/org/aspectj/systemtest/ajc10x/Ajc10xTests.java @@ -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(){