summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/bridgeMethods/X3.aj
blob: e83af6b2641e4c48d1cfe77b31a05b9bdadb54a6 (plain)
1
2
3
4
5
6
7
8
9
10
public aspect X3 {

  public Object Super3.m() {return null;}

  public static void main(String []argv) {
    Super3 s = new Sub3();
    Integer i = (Integer)s.m();
    if (i!=42) throw new RuntimeException("Should be 42 but is "+i);
  }
}