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

public class FieldB {
  public static void main(String []argv) {
    Base<Integer,String> base    = new Base<Integer,String>();
    List<Integer> intList = new ArrayList<Integer>();

  }
}

class Base<N extends Number,M> { 

}

aspect X {
  public List<Z> Base<Z>.j; // CE only supplied 1 type parameter
}