From 4d1c2948a2f18012cd49dbe8e3a32b1a863d4d45 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 30 Nov 2004 17:43:50 +0000 Subject: Part of 72766: Bridge methods - we now do the right thing if we see one (i.e. we ignore it as a source of join points) --- tests/java5/bridgeMethods/Number.java | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/java5/bridgeMethods/Number.java (limited to 'tests/java5/bridgeMethods/Number.java') diff --git a/tests/java5/bridgeMethods/Number.java b/tests/java5/bridgeMethods/Number.java new file mode 100644 index 000000000..1a866ec19 --- /dev/null +++ b/tests/java5/bridgeMethods/Number.java @@ -0,0 +1,6 @@ +public class Number implements Comparable { + private int i; + public Number(int i) { this.i = i; } + public int getValue() { return i;} + public int compareTo(Number that) { return this.getValue() - that.getValue(); } +} -- cgit v1.2.3