diff options
author | Adam Domurad <[email protected]> | 2013-05-02 10:56:15 -0400 |
---|---|---|
committer | Adam Domurad <[email protected]> | 2013-05-02 10:56:15 -0400 |
commit | 41703448b3c6a3ea9ecfc1e622040e977616a2e3 (patch) | |
tree | 2d1b987f9ad0d019d19eea737e385ee0c6e9fe3c /plugin/icedteanp/java/sun/applet | |
parent | 39eca3bd8d4767bd6e92e29abaaf18b2153d32e1 (diff) |
MethodOverloadResolve array casting tests
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); } |