summaryrefslogtreecommitdiffstats
path: root/tests/src/org/aspectj/systemtest
diff options
context:
space:
mode:
authoraclement <aclement>2010-12-13 19:13:56 +0000
committeraclement <aclement>2010-12-13 19:13:56 +0000
commit13fff7553a5871b06c8497d5093dae051a3a570a (patch)
treed1f5730559534e96495c569b1ce0588f6f14ad4b /tests/src/org/aspectj/systemtest
parentb1bc04f163ab7c1c0440df1b23842dcc6f4e3f52 (diff)
downloadaspectj-13fff7553a5871b06c8497d5093dae051a3a570a.tar.gz
aspectj-13fff7553a5871b06c8497d5093dae051a3a570a.zip
332388: test and fix
Diffstat (limited to 'tests/src/org/aspectj/systemtest')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1611/Ajc1611Tests.java4
-rw-r--r--tests/src/org/aspectj/systemtest/ajc1611/ajc1611.xml9
2 files changed, 13 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc1611/Ajc1611Tests.java b/tests/src/org/aspectj/systemtest/ajc1611/Ajc1611Tests.java
index b6166af2d..75a4f51cf 100644
--- a/tests/src/org/aspectj/systemtest/ajc1611/Ajc1611Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc1611/Ajc1611Tests.java
@@ -21,6 +21,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
*/
public class Ajc1611Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testMissingType_332388() {
+ runTest("pr332388");
+ }
+
public void testDeclareField_328840() {
runTest("pr328840");
}
diff --git a/tests/src/org/aspectj/systemtest/ajc1611/ajc1611.xml b/tests/src/org/aspectj/systemtest/ajc1611/ajc1611.xml
index 40acb25c6..58be6e641 100644
--- a/tests/src/org/aspectj/systemtest/ajc1611/ajc1611.xml
+++ b/tests/src/org/aspectj/systemtest/ajc1611/ajc1611.xml
@@ -13,4 +13,13 @@
</stdout></run>
</ajc-test>
+ <ajc-test dir="bugs1611/pr332388" title="pr332388">
+ <compile files="M.java" outjar="M.jar" options="-1.5"/>
+ <compile files="A.java B.java" classpath="M.jar" outjar="AB.jar" options="-1.5"/>
+ <compile files="MyAspect.java" outjar="aspects.jar" options="-1.5"/>
+ <compile files="" aspectpath="aspects.jar" inpath="AB.jar" options="-1.5">
+ <message kind="error" text="Unable to find type for generic bound. Missing type is M"/>
+ </compile>
+ </ajc-test>
+
</suite> \ No newline at end of file