summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2005-04-20 14:32:40 +0000
committeraclement <aclement>2005-04-20 14:32:40 +0000
commit3f942a4c58210535e91c50a037a8d743a0c70e19 (patch)
treececc507db4a72d422a40089d1664a77c2f1dd075 /tests/src
parent78abc76610cfb5fd2a2282086adfb017537ce49c (diff)
downloadaspectj-3f942a4c58210535e91c50a037a8d743a0c70e19.tar.gz
aspectj-3f942a4c58210535e91c50a037a8d743a0c70e19.zip
Fix for pr92053: atargs causes a VerifyError: Unable to pop operand off an empty stack
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml5
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java b/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java
index 14cfbc008..ab7940e73 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/AnnotationBinding.java
@@ -393,5 +393,9 @@ public class AnnotationBinding extends XMLBasedAjcTestCase {
assertTrue("Should point to line 10 but doesnt: "+tgt,tgt.indexOf("|10|")!=-1);
}
}
+
+ public void testAnnotationBindingArgsVerifyError_pr92053() {
+ runTest("AtArgs causes a VerifyError: Unable to pop operand off an empty stack");
+ }
} \ No newline at end of file
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index b2005b972..8001d474a 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -2149,5 +2149,10 @@
<compile files="ITDReturningParameterizedType.aj" options="-1.5"/>
<run class="ITDReturningParameterizedType"/>
</ajc-test>
+
+ <ajc-test dir="java5/annotations/binding/bugs" title="AtArgs causes a VerifyError: Unable to pop operand off an empty stack" vm="1.5">
+ <compile files="Test3.java" options="-1.5"/>
+ <run class="Test3"/>
+ </ajc-test>
</suite> \ No newline at end of file