aboutsummaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/java5/generics/itds/bridgeMethods/Bridging2.aj')
-rw-r--r--tests/java5/generics/itds/bridgeMethods/Bridging2.aj4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/java5/generics/itds/bridgeMethods/Bridging2.aj b/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
index ecd270de3..7a2b6d206 100644
--- a/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
+++ b/tests/java5/generics/itds/bridgeMethods/Bridging2.aj
@@ -1,4 +1,6 @@
// this bridge stuff is handled by the compiler
+// We should get two methods in D, one is next() with return type Object
+// and one is next() with return type String
import java.lang.reflect.*;
abstract class C<A> {
@@ -13,4 +15,4 @@ public aspect Bridging2 {
public static void main(String []argv) {
Util.dumpMethods("D");
}
-} \ No newline at end of file
+}