@@ -1,4 +1,4 @@ | |||
public class pr112458<V> | |||
public class pr122458<V> | |||
{ | |||
public void setInnerClasses(InnerClass[] classes){}; | |||
@@ -1,15 +1,15 @@ | |||
public class pr112458_2<V> | |||
public class pr122458_2<V> | |||
{ | |||
public void setInnerClasses(InnerClass[] classes){}; | |||
public static class InnerClass {} | |||
public static void main(String []argv) { | |||
new pr112458_2(); | |||
new pr122458_2(); | |||
} | |||
} | |||
aspect X { | |||
before(pr112458_2.InnerClass[] ics): execution(void setInnerClasses(..)) && args(ics) { | |||
before(pr122458_2.InnerClass[] ics): execution(void setInnerClasses(..)) && args(ics) { | |||
} | |||
} |
@@ -18,8 +18,8 @@ import org.aspectj.testing.XMLBasedAjcTestCase; | |||
public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | |||
public void testMemberTypesInGenericTypes_pr112458() { runTest("member types in generic types");} | |||
public void testMemberTypesInGenericTypes_pr112458_2() { runTest("member types in generic types - 2");} | |||
public void testMemberTypesInGenericTypes_pr122458() { runTest("member types in generic types");} | |||
public void testMemberTypesInGenericTypes_pr122458_2() { runTest("member types in generic types - 2");} | |||
///////////////////////////////////////// |
@@ -4,12 +4,12 @@ | |||
<suite> | |||
<ajc-test dir="bugs151" title="member types in generic types"> | |||
<compile files="pr112458.aj" options="-1.5 -emacssym"/> | |||
<compile files="pr122458.aj" options="-1.5 -emacssym"/> | |||
</ajc-test> | |||
<ajc-test dir="bugs151" title="member types in generic types - 2"> | |||
<compile files="pr112458_2.aj" options="-1.5 -emacssym"/> | |||
<run class="pr112458_2"/> | |||
<compile files="pr122458_2.aj" options="-1.5 -emacssym"/> | |||
<run class="pr122458_2"/> | |||
</ajc-test> | |||
</suite> |