diff options
author | Andy Clement <aclement@gopivotal.com> | 2014-05-23 13:25:57 -0700 |
---|---|---|
committer | Andy Clement <aclement@gopivotal.com> | 2014-05-23 13:25:57 -0700 |
commit | 6e5c19b7529d637084564d155d1515f6c4058e05 (patch) | |
tree | fc994bcac1cd080ae0e92d064036352edbb771a7 /tests/src | |
parent | 2334f629a16a1623a222bc12de10a85ff9abaa04 (diff) | |
download | aspectj-6e5c19b7529d637084564d155d1515f6c4058e05.tar.gz aspectj-6e5c19b7529d637084564d155d1515f6c4058e05.zip |
fix for 435446: ensure size of invokedynamic correct
Diffstat (limited to 'tests/src')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc181/ajc181.xml | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java b/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java index 2bc5e0c0c..3fc5e17cd 100644 --- a/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc181/Ajc181Tests.java @@ -22,6 +22,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc181Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testLvarTable_435446() throws Exception { + runTest("lvartable"); + } + public void testBrokenAnnotations_377096() throws Exception { runTest("broken annotations"); Method method = getMethodFromClass(getClassFrom(ajc.getSandboxDirectory(), "C"), "xxx"); diff --git a/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml b/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml index cd2066506..fdbe11d21 100644 --- a/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml +++ b/tests/src/org/aspectj/systemtest/ajc181/ajc181.xml @@ -2,6 +2,13 @@ <suite> + <ajc-test dir="bugs181/435446" title="lvartable"> + <compile options="-1.8" files="Application.java MyAspect.java"> + </compile> + <run class="de.scrum_master.app.Application"> + </run> + </ajc-test> + <ajc-test dir="bugs181/377096" title="broken annotations"> <compile options="-1.5 -proceedOnError" files="A.java"> <message kind="error" text="The attribute wibble is undefined for the annotation type A"/> |