aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160/pr167197/Breaker2.java
blob: cab08767f6593c158a09889f55ceb64731136df4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import java.util.ArrayList;

class B1<T> extends ArrayList<T[]> {
	public boolean test(T[] obj) {
	  return false;	
	}
	
}

public class Breaker2 extends B1<ICounterValue[]> {
	private static final long serialVersionUID = 1L;
	
    public Breaker2() {
    }

    public boolean test(ICounterValue[] obj) {
        this.size();
        
        return false;    	
    }
    
    public static void main(String[]argv) {
    	new Breaker2().test(new ICounterValue[]{});
    }
}

interface ICounterValue {
	
}

aspect X {
  before(): call(* *(..)) {}
}