aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-12-06 03:49:41 +0000
committeracolyer <acolyer>2005-12-06 03:49:41 +0000
commit3c8832b332f94bc05e7db48f414cc4a537407eb1 (patch)
treed44985b95b39d9241c42cf1cde709a3b97b49fd3 /tests
parentd43e74b5c919ebaef67a4b7551a464b8db3b289a (diff)
downloadaspectj-3c8832b332f94bc05e7db48f414cc4a537407eb1.tar.gz
aspectj-3c8832b332f94bc05e7db48f414cc4a537407eb1.zip
workaround for jrockit potential bug (see pr1054290
Diffstat (limited to 'tests')
-rw-r--r--tests/new/AroundVoid.java1
-rw-r--r--tests/src/org/aspectj/systemtest/ajc10x/Ajc10xTests.java2
2 files changed, 2 insertions, 1 deletions
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(){