summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/FieldC.aj
blob: 63ab9594641f929cbd48b37b70898240f2b349c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import java.util.*;

public class FieldC {
  public static void main(String []argv) {
    Base<Integer> base    = new Base<Integer>();
    List<List<Integer>> intList2 = new ArrayList<List<Integer>>();
    base.j=intList2;

  }
}

class Base<N extends Number> { 
}

aspect X {
  public List<List<Z>> Base<Z>.j; // ok - nested but OK
}