diff options
Diffstat (limited to 'plugin/icedteanp/java/sun/applet')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java b/plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java index 827f22e..bba1e8a 100644 --- a/plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java +++ b/plugin/icedteanp/java/sun/applet/MethodOverloadResolver.java @@ -227,6 +227,10 @@ public class MethodOverloadResolver { PluginDebug.debug("*** Warning: Ambiguous overload of ", c.getClass(), "#", cheapestMethod, "!"); } + if (cheapestMethod == null) { + return null; + } + return new ResolvedMethod(lowestCost, cheapestMethod, cheapestArgs); } |