aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/CtorC.aj
blob: 04fe1c8547b162edb85667f936d3ac8eca046484 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import java.util.*;

public class CtorC {
  public static void main(String []argv) {
    List<List<Integer>> intList2 = new ArrayList<List<Integer>>();
    Base b = new Base(intList2);
  }
}

class Base<N extends Number> { 
}

aspect X {
  public Base<Z>.new(List<List<Z>> llz) { this(); }; // ok - nested but OK
}