--- /dev/null
+interface IMarker<CLOCK,STATE> { }
+
+public aspect MyAspect
+{
+
+ public void IMarker<CLOCK,STATE>.map()
+ {
+ CLOCK[] var = find();
+ };
+
+
+
+ public CLOCK[] IMarker<CLOCK,STATE>.find()
+ {
+ return null;
+ }
+
+}
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");
}
<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">