From 4cc1ae82645431a5c1f0958a800e8e5dfc012086 Mon Sep 17 00:00:00 2001 From: Andrew Azores Date: Fri, 17 Jan 2014 11:36:22 -0500 Subject: Fix liveconnect regression from commit ee92f55c69a3 http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-January/025764.html * plugin/icedteanp/IcedTeaScriptablePluginObject.cc: (hasMethod) fixed regression from rev 757:ee92f55c69a3 --- plugin/icedteanp/IcedTeaScriptablePluginObject.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/icedteanp/IcedTeaScriptablePluginObject.cc') diff --git a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc index 416cde6..02c7c25 100644 --- a/plugin/icedteanp/IcedTeaScriptablePluginObject.cc +++ b/plugin/icedteanp/IcedTeaScriptablePluginObject.cc @@ -474,7 +474,7 @@ IcedTeaScriptableJavaObject::hasMethod(NPObject *npobj, NPIdentifier name_id) bool hasMethod = false; // If object is an array and requested "method" may be a number, check for it first - if ( scriptable_object->is_object_array || + if ( !scriptable_object->is_object_array || (browser_functions.intfromidentifier(name_id) < 0)) { -- cgit v1.2.3