### Eclipse Workspace Patch 1.0 #P tests Index: src/org/aspectj/systemtest/ajc153/ajc153.xml =================================================================== RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc153/ajc153.xml,v retrieving revision 1.31 diff -u -r1.31 ajc153.xml --- src/org/aspectj/systemtest/ajc153/ajc153.xml 4 Sep 2006 14:24:55 -0000 1.31 +++ src/org/aspectj/systemtest/ajc153/ajc153.xml 6 Sep 2006 09:58:46 -0000 @@ -383,4 +383,8 @@ + + + + \ No newline at end of file Index: src/org/aspectj/systemtest/ajc153/Ajc153Tests.java =================================================================== RCS file: /home/technology/org.aspectj/modules/tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java,v retrieving revision 1.31 diff -u -r1.31 Ajc153Tests.java --- src/org/aspectj/systemtest/ajc153/Ajc153Tests.java 4 Sep 2006 14:24:55 -0000 1.31 +++ src/org/aspectj/systemtest/ajc153/Ajc153Tests.java 6 Sep 2006 09:58:46 -0000 @@ -83,6 +83,10 @@ runTest("NPE in InitializerSignatureImpl"); } + public void testNoIllegalStateExceptionWithGenericInnerAspect_pr156058() { + runTest("no IllegalStateException with generic inner aspect"); + } + ///////////////////////////////////////// public static Test suite() { return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class); Index: bugs153/pr156058/MyAspect.aj =================================================================== RCS file: bugs153/pr156058/MyAspect.aj diff -N bugs153/pr156058/MyAspect.aj --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ bugs153/pr156058/MyAspect.aj 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,9 @@ +public aspect MyAspect implements MyInterface { + + before() : MyAspect1.myPointcutInInterface(){ + } +} + +class MyClass { + +} Index: bugs153/pr156058/MyInterface.java =================================================================== RCS file: bugs153/pr156058/MyInterface.java diff -N bugs153/pr156058/MyInterface.java --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ bugs153/pr156058/MyInterface.java 1 Jan 1970 00:00:00 -0000 @@ -0,0 +1,6 @@ +public interface MyInterface{ + + public abstract static aspect MyAspect1 { + public final pointcut myPointcutInInterface() : call(* *..*.*(..)); + } +}