@@ -1,8 +0,0 @@ | |||
public class TopLevelType<E> { | |||
public static class NestedType {} | |||
} | |||
aspect SomeAspect { | |||
public void TopLevelType.NestedType.someMethod() { | |||
} | |||
} |
@@ -0,0 +1,16 @@ | |||
public class TopLevelType<E> { | |||
public static class NestedType {} | |||
public static void main(String[] args) { | |||
TopLevelType tlt = new TopLevelType(); | |||
NestedType nt = new NestedType(); | |||
nt.someMethod(); | |||
} | |||
} | |||
aspect SomeAspect { | |||
public void TopLevelType.NestedType.someMethod() { | |||
} | |||
} | |||
@@ -0,0 +1,17 @@ | |||
public class TopLevelType2<E> { | |||
public static class NestedType {} | |||
public static void main(String[] args) { | |||
TopLevelType2 tlt = new TopLevelType2(); | |||
NestedType nt = new NestedType(); | |||
nt.someMethod(); | |||
} | |||
} | |||
aspect SomeAspect { | |||
public void TopLevelType2<String>.NestedType.someMethod() { // error - can't do that | |||
} | |||
} | |||
@@ -0,0 +1,17 @@ | |||
public class TopLevelType3<E> { | |||
public static class NestedType<T> {} | |||
public static void main(String[] args) { | |||
TopLevelType3 tlt = new TopLevelType3(); | |||
NestedType nt = new NestedType(); | |||
nt.someMethod(); | |||
} | |||
} | |||
aspect SomeAspect { | |||
public void TopLevelType3.NestedType<String>.someMethod() { // error - can't do that | |||
} | |||
} | |||
@@ -24,7 +24,6 @@ import org.aspectj.systemtest.ajc150.GenericsTests; | |||
import org.aspectj.testing.XMLBasedAjcTestCase; | |||
public class Ajc151Tests extends org.aspectj.testing.XMLBasedAjcTestCase { | |||
// public void testItdOnInnerTypeOfGenericType_pr132349() { runTest("ITD on inner type of generic type");} | |||
// Some @DeclareParents testing | |||
public void testAtDecp_1() { runTest("atDecp - simple");} |
@@ -74,10 +74,6 @@ | |||
<!-- atDecp end --> | |||
<ajc-test dir="bugs151/pr132349" title="ITD on inner type of generic type"> | |||
<compile files="TopLevelType.java" options="-1.5"/> | |||
</ajc-test> | |||
<ajc-test dir="bugs151/pr126560" title="@AJ deow doesn't throw an invalidAbsoluteTypeName when specify type in the same package"> | |||
<compile files="pkg1/C.java, pkg1/A.java" options="-1.5"> | |||
<message kind="error" line="8" text="error"/> |