aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Azores <[email protected]>2014-01-17 11:36:22 -0500
committerAndrew Azores <[email protected]>2014-01-17 11:36:22 -0500
commit4cc1ae82645431a5c1f0958a800e8e5dfc012086 (patch)
tree47bf424ae4bb601ce26829a104fc56b0e60cd9ed
parent5aa7f2cdfbc59fdc3daede83f3a9a79b423b1cbd (diff)
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
-rw-r--r--ChangeLog7
-rw-r--r--plugin/icedteanp/IcedTeaScriptablePluginObject.cc2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 955f1a4..65cbee4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2014-01-17 Andrew Azores <[email protected]>
+
+ Fixes JS reproducer regression.
+ http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2014-January/025764.html
+ * plugin/icedteanp/IcedTeaScriptablePluginObject.cc: (hasMethod) fixed
+ regression from rev 757:ee92f55c69a3
+
2014-01-16 Jiri Vanek <[email protected]>
Reproducers stabilization by removing check for not presented general Exception
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))
{