summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/bridgeMethods/Bridging3.aj
blob: 13b70034a6d2c32c9a5d668cdf53895877c6d3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// this bridge stuff is handled by the compiler
import java.lang.reflect.*;

abstract class C<A> {
	abstract A id(A x);
}

class D extends C<String> {
	String id(String s) {return s;}
}

public aspect Bridging3 {
	public static void main(String []argv) {
		Util.dumpMethods("D");
	}
}