summaryrefslogtreecommitdiffstats
path: root/tests/src
diff options
context:
space:
mode:
authoraclement <aclement>2005-05-06 15:42:28 +0000
committeraclement <aclement>2005-05-06 15:42:28 +0000
commit51c018d9bbf0ecfb312cb2b56112c71cfc516c53 (patch)
treee8785705a0a855c7bdbd02f446867c7ff4a68003 /tests/src
parent952dda914064ff58a39fc682d18cdbf3ad171475 (diff)
downloadaspectj-51c018d9bbf0ecfb312cb2b56112c71cfc516c53.tar.gz
aspectj-51c018d9bbf0ecfb312cb2b56112c71cfc516c53.zip
Tests for 87282, 88606
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java9
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/ajc150.xml8
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java
index fe265050a..25efa7cbf 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/GenericsTests.java
@@ -31,4 +31,13 @@ public class GenericsTests extends XMLBasedAjcTestCase {
public void testPR91053() {
runTest("Generics problem with Set");
}
+
+ public void testPR87282() {
+ runTest("Compilation error on generic member introduction");
+ }
+
+ public void testPR88606() {
+ runTest("Parameterized types on introduced fields not correctly recognized");
+ }
+
}
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index e9ef342c3..15afabbfe 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -2169,5 +2169,13 @@
<compile files="PR91053.aj" options="-1.5"/>
<run class="PR91053"/>
</ajc-test>
+
+ <ajc-test dir="java5/generics/bugs" title="Compilation error on generic member introduction" vm="1.5">
+ <compile files="PR87282.aj" options="-1.5"/>
+ </ajc-test>
+
+ <ajc-test dir="java5/generics/bugs" title="Parameterized types on introduced fields not correctly recognized" vm="1.5">
+ <compile files="PR88606.aj" options="-1.5"/>
+ </ajc-test>
</suite> \ No newline at end of file