On Tue, Jan 5, 2010 at 12:40 PM, BobV <[email protected]> wrote: > > I'm not in love with the current algorithm, but what precisely shall we > do? > > For a given type, collect all method signatures that could conceivably > be invoked via that type (and its superclasses or superinterfaces) and > succeed only if there is exactly one unique signature with the given > method name. >
Okay, John T. wants the same algorithm. I like it myself, anyway. New patch in just a minute. The main trick is in dealing with bridge methods. I believe they should be ignored, because you can't normally call them in Java. However, we unfortunately currently allow them. So, as a compromise, the latest patch allows *direct* access to bridge methods, but it ignores them when resolving a wildcard. Lex Spoon
-- http://groups.google.com/group/Google-Web-Toolkit-Contributors
