View | Details | Raw Unified | Return to bug 113447 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/aspectj/systemtest/ajc150/Ajc150Tests.java (+4 lines)
Lines 629-634 Link Here
629
	  runTest("weaveinfo message for declare at method on an ITDd method");
629
	  runTest("weaveinfo message for declare at method on an ITDd method");
630
  }
630
  }
631
  
631
  
632
  public void testNoVerifyErrorWithTwoThisPCDs_pr113447() {
633
	  runTest("no verify error with two this pcds");
634
  }
635
  
632
  // helper methods.....
636
  // helper methods.....
633
  
637
  
634
  public SyntheticRepository createRepos(File cpentry) {
638
  public SyntheticRepository createRepos(File cpentry) {
(-)src/org/aspectj/systemtest/ajc150/ajc150.xml (+6 lines)
Lines 686-691 Link Here
686
        </compile>
686
        </compile>
687
    </ajc-test> 
687
    </ajc-test> 
688
688
689
    <ajc-test dir="bugs150" title="no verify error with two this pcds">
690
        <compile files="PR113447.java">
691
        </compile>
692
        <run class="PR113447"/>
693
    </ajc-test> 
694
689
    <!-- ============================================================================ -->
695
    <!-- ============================================================================ -->
690
    <!-- ============================================================================ -->
696
    <!-- ============================================================================ -->
691
    
697
    
(-)bugs150/PR113447.java (+19 lines)
Added Link Here
1
public class PR113447 {
2
3
	public static void main(String[] args) {
4
		PR113447 me = new PR113447();
5
		me.method1();
6
	}
7
	
8
	public void method1(){}
9
10
}
11
12
aspect Super {
13
	pointcut pc(PR113447 s) : 
14
		(this(s) && execution(void method1()))
15
		|| (this(s) && execution(void method2()));
16
	
17
	before(PR113447 s) : pc(s) {
18
	}
19
}

Return to bug 113447