]> source.dussan.org Git - aspectj.git/commitdiff
250632: testcase
authoraclement <aclement>
Tue, 14 Oct 2008 22:54:01 +0000 (22:54 +0000)
committeraclement <aclement>
Tue, 14 Oct 2008 22:54:01 +0000 (22:54 +0000)
tests/bugs163/pr250632/MyAspect.java [new file with mode: 0644]
tests/src/org/aspectj/systemtest/ajc163/Ajc163Tests.java
tests/src/org/aspectj/systemtest/ajc163/ajc163.xml

diff --git a/tests/bugs163/pr250632/MyAspect.java b/tests/bugs163/pr250632/MyAspect.java
new file mode 100644 (file)
index 0000000..a1ddb4f
--- /dev/null
@@ -0,0 +1,18 @@
+interface IMarker<CLOCK,STATE> { }
+
+public aspect MyAspect
+{
+
+       public void IMarker<CLOCK,STATE>.map()
+       {
+               CLOCK[] var = find();
+       };
+
+
+
+       public CLOCK[] IMarker<CLOCK,STATE>.find()
+       {
+               return null;
+       }
+
+}
index 6ab60a65e4af12a9eb79f07a8d1c1816fb3b5df5..2a3679330e7c9490120845353ccb1f803ef2d44a 100644 (file)
@@ -18,6 +18,10 @@ import org.aspectj.testing.XMLBasedAjcTestCase;
 
 public class Ajc163Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
 
+       public void testGenericMethodConversions_pr250632() {
+               runTest("type conversion in generic itd");
+       }
+
        public void testGenericMethodBridging_pr250493() {
                runTest("bridge methods for generic itds");
        }
index 7967ac163dffa940300d211d847da691fd7b5f64..c44f85a6ff457f5c884a026e91abb34f4314a2f7 100644 (file)
@@ -2,6 +2,11 @@
 
 <suite>
 
+
+    <ajc-test dir="bugs163/pr250632" title="type conversion in generic itd">
+      <compile files="MyAspect.java" options="-1.5"/>
+    </ajc-test>
+
     <ajc-test dir="bugs163/pr250493" title="bridge methods for generic itds">
       <compile files="Bridged.java" options="-1.5"/>
       <run class="Bridged">