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

public class FieldL {
  public static void main(String []argv) {
    List<Double> doubleList = new ArrayList<Double>();
    List<Float>  floatList  = new ArrayList<Float>();

    One<Double> o = new One<Double>();
    o.i = new ArrayList();
  }
}

interface I<N extends Number> { }

class One<Z extends Number> implements I<Z> {}

aspect X {
  public List I.i;
}