summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-17 10:45:35 +0000
committeraclement <aclement>2005-10-17 10:45:35 +0000
commit0b5a5420704f7e32509fffaef66d8c94dcedcf17 (patch)
tree67add3222a3b8e780a03e96f7a7b08e532a6350e /tests
parente1537b247640bd0fa3bb8db2616a890b8be9ca58 (diff)
downloadaspectj-0b5a5420704f7e32509fffaef66d8c94dcedcf17.tar.gz
aspectj-0b5a5420704f7e32509fffaef66d8c94dcedcf17.zip
Fix for pr112602
Diffstat (limited to 'tests')
-rw-r--r--tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.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/Ajc150Tests.java b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
index 28ad9fbaf..8f638cc41 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
+++ b/tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java
@@ -505,6 +505,10 @@ public class Ajc150Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
runTest("debug info in around advice inlining");
}
+ public void testCCEWithGenericWildcard_pr112602() {
+ runTest("ClassCastException with generic wildcard");
+ }
+
public void testAdviceInStructureModelWithAnonymousInnerClass_pr77269() {
//AsmManager.setReporting("c:/debug.txt",true,true,true,true);
runTest("advice in structure model with anonymous inner class");
diff --git a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
index 47e326dfd..10330c136 100644
--- a/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
+++ b/tests/src/org/aspectj/systemtest/ajc150/ajc150.xml
@@ -5025,6 +5025,10 @@
</run>
</ajc-test>
+ <ajc-test dir="bugs150/pr112602" title="ClassCastException with generic wildcard">
+ <compile files="GenericInterface.java,Implementation.java" options="-1.5,-emacssym"/>
+ </ajc-test>
+
<ajc-test dir="bugs150/pr110307" title="Cant provide default implementation via ITD - 1">
<compile files="Case1.java" options="-1.5">
<message kind="warning" line="27" text="no match for this type name: Branch [Xlint:invalidAbsoluteTypeName]"/>
@@ -5064,6 +5068,7 @@
</ajc-test>
+
<!-- generic ITDs -->
<ajc-test dir="java5/generics/itds/design" title="generic itds - design A">