From 80f517ebf71430b6eed15c34a5103d2bf504f5a9 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 26 Nov 2009 23:20:23 +0000 Subject: 296040: method dispatch problem with google collections --- tests/bugs167/pr296040/ErrorClass.java | 17 +++++++++++++++++ tests/bugs167/pr296040/gc10rc4.jar | Bin 0 -> 589070 bytes 2 files changed, 17 insertions(+) create mode 100644 tests/bugs167/pr296040/ErrorClass.java create mode 100644 tests/bugs167/pr296040/gc10rc4.jar (limited to 'tests/bugs167') diff --git a/tests/bugs167/pr296040/ErrorClass.java b/tests/bugs167/pr296040/ErrorClass.java new file mode 100644 index 000000000..35f7e3cf4 --- /dev/null +++ b/tests/bugs167/pr296040/ErrorClass.java @@ -0,0 +1,17 @@ +import java.util.Set; +import java.util.Map.Entry; + +import com.google.common.collect.TreeMultimap; + +public class ErrorClass { + + public void useGoogleCollections() { + TreeMultimap countResult = TreeMultimap.create(); + Set> entries = countResult.entries(); + System.out.println(entries.size()); + } + + public static void main(String[] args) { + new ErrorClass().useGoogleCollections(); + } +} \ No newline at end of file diff --git a/tests/bugs167/pr296040/gc10rc4.jar b/tests/bugs167/pr296040/gc10rc4.jar new file mode 100644 index 000000000..f2386fe6e Binary files /dev/null and b/tests/bugs167/pr296040/gc10rc4.jar differ -- cgit v1.2.3