View | Details | Raw Unified | Return to bug 156058
Collapse All | Expand All

(-)src/org/aspectj/systemtest/ajc153/ajc153.xml (+4 lines)
Lines 383-386 Link Here
383
      </run>
383
      </run>
384
    </ajc-test>
384
    </ajc-test>
385
    
385
    
386
    <ajc-test dir="bugs153/pr156058" title="no IllegalStateException with generic inner aspect">
387
      <compile files="MyAspect.aj, MyInterface.java" options="-1.5"/>
388
    </ajc-test>
389
386
</suite>
390
</suite>
(-)src/org/aspectj/systemtest/ajc153/Ajc153Tests.java (+4 lines)
Lines 83-88 Link Here
83
	  runTest("NPE in InitializerSignatureImpl");
83
	  runTest("NPE in InitializerSignatureImpl");
84
  }
84
  }
85
  
85
  
86
  public void testNoIllegalStateExceptionWithGenericInnerAspect_pr156058() {
87
	  runTest("no IllegalStateException with generic inner aspect");
88
  }
89
  
86
  /////////////////////////////////////////
90
  /////////////////////////////////////////
87
  public static Test suite() {
91
  public static Test suite() {
88
    return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class);
92
    return XMLBasedAjcTestCase.loadSuite(Ajc153Tests.class);
(-)bugs153/pr156058/MyAspect.aj (+9 lines)
Added Link Here
1
public aspect MyAspect implements MyInterface<MyClass> {
2
3
	  before() : MyAspect1<MyClass>.myPointcutInInterface(){
4
	  }
5
}
6
7
class MyClass {
8
	
9
}
(-)bugs153/pr156058/MyInterface.java (+6 lines)
Added Link Here
1
public interface MyInterface<T>{
2
3
	  public abstract static aspect MyAspect1<T> {
4
	    public final pointcut myPointcutInInterface() : call(* *..*.*(..));
5
	  }
6
}

Return to bug 156058