aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/bridgeMethods/pr91381_2.aj
blob: f5fc9dcfa51e0ed6bb43a6c14f5354cf3c8e628f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public aspect pr91381_2 {
  public abstract Integer A.foo();

  public static void main(String[] args) {
    A a = new B();
    System.out.println(a.foo());
  }
}

abstract class A {
//  abstract Integer foo();
}

class B extends A {
  public Object foo() { return new Integer(42); }
}