diff options
author | Andy Clement <aclement@pivotal.io> | 2016-01-05 13:06:22 -0800 |
---|---|---|
committer | Andy Clement <aclement@pivotal.io> | 2016-01-05 13:06:22 -0800 |
commit | d9029474077ebd405ec34d44913eed3051f2691e (patch) | |
tree | 7a6ff9cb209f4fbe15696e3ef31b11c32f0f5fe3 /tests/src/org/aspectj | |
parent | 9b220fe52ad9bb117140692f7cf455d78a17be11 (diff) | |
download | aspectj-d9029474077ebd405ec34d44913eed3051f2691e.tar.gz aspectj-d9029474077ebd405ec34d44913eed3051f2691e.zip |
Fix 484941 - NPE AnnotationDiscoveryVisitor
Diffstat (limited to 'tests/src/org/aspectj')
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc188/Ajc188Tests.java | 4 | ||||
-rw-r--r-- | tests/src/org/aspectj/systemtest/ajc188/ajc188.xml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc188/Ajc188Tests.java b/tests/src/org/aspectj/systemtest/ajc188/Ajc188Tests.java index c2a994855..1a5f5a465 100644 --- a/tests/src/org/aspectj/systemtest/ajc188/Ajc188Tests.java +++ b/tests/src/org/aspectj/systemtest/ajc188/Ajc188Tests.java @@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase; */ public class Ajc188Tests extends org.aspectj.testing.XMLBasedAjcTestCase { + public void testAnnotationDiscoveryNpe() throws Exception { + runTest("annotation discovery npe"); + } + public void testDefaultMethodsWithXnoInline() throws Exception { runTest("default methods 1"); } diff --git a/tests/src/org/aspectj/systemtest/ajc188/ajc188.xml b/tests/src/org/aspectj/systemtest/ajc188/ajc188.xml index 2e8a8b62f..a9844f79f 100644 --- a/tests/src/org/aspectj/systemtest/ajc188/ajc188.xml +++ b/tests/src/org/aspectj/systemtest/ajc188/ajc188.xml @@ -2,6 +2,10 @@ <suite> +<ajc-test dir="bugs188/484941" title="annotation discovery npe"> +<compile files="Test2.java" options="-1.8 -XnoInline"/> +</ajc-test> + <ajc-test dir="bugs188/defaultmethods" title="default methods 1"> <compile files="Code.java" options="-1.8 -XnoInline"/> <run class="Code"> |