--- /dev/null
+package pack1;
+import pack2.Java;
+import pack2.Java2;
+public aspect Aspect {
+ public static final class Java.ITIT {
+ public static final java.util.List<String> X = null;
+ public static final int X() { return 9; } }
+ public static final class Java2.ITIT {
+ public static final java.util.List<String> X2 = null;
+ public static final int X2() { return 9; } }}
--- /dev/null
+package pack2;
+public class Java {}
--- /dev/null
+package pack2;
+public class Java2 {}
*/
public class Ajc1612Tests extends org.aspectj.testing.XMLBasedAjcTestCase {
+ public void testITIT_338175() {
+ runTest("itit");
+ }
+
public void testThrowsClause_292239() {
runTest("throws clause");
}
<suite>
+<ajc-test dir="bugs1612/pr338175" title="itit">
+<compile files="pack1/Aspect.java pack2/Java.java pack2/Java2.java" options="-1.5">
+ <message kind="error" text="Duplicate nested type ITIT"/>
+ <message kind="error" text="can't determine modifiers"/>
+</compile>
+</ajc-test>
+
<ajc-test dir="bugs1612/pr292239" title="throws clause">
<compile files="Code.java" options="-1.5 -showWeaveInfo">
<message kind="weave" text="Join point 'method-execution(void mypackage.Code.n())' in Type 'mypackage.Code' (Code.java:19) advised by afterThrowing advice from 'mypackage.Azpect' (Code.java:9)"/>