changeset 2088:fb2449018b34

Fixed PR519 (patch from dnietoc@gmail.com)
author Deepak Bhole <dbhole@redhat.com>
date Wed, 29 Sep 2010 13:37:46 -0700
parents eab926d1eb04
children 43a38e678ae4
files ChangeLog NEWS plugin/icedteanp/IcedTeaNPPlugin.cc
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 17 15:01:17 2010 +0100
+++ b/ChangeLog	Wed Sep 29 13:37:46 2010 -0700
@@ -1,3 +1,10 @@
+2010-09-29  Deepak Bhole <dbhole@redhat.com>
+	
+	Fixed PR519 (patch from dnietoc@gmail.com).
+	* plugin/icedteanp/IcedTeaNPPlugin.cc: Have ITNP_NewStream return
+	NPERR_GENERIC_ERROR instead of NPERR_NO_ERROR.
+	* NEWS: Updated accordingly.
+
 2010-09-17  Andrew John Hughes  <ahughes@redhat.com>
 
 	* patches/openjdk/6638712-wildcard_types.patch:
--- a/NEWS	Fri Sep 17 15:01:17 2010 +0100
+++ b/NEWS	Wed Sep 29 13:37:46 2010 -0700
@@ -15,6 +15,7 @@
   - RH601281: Possible NullPointerException in splash screen code
 * Plugin 
  - RH560193: Fix ziperror when applet jar contained another 0-byte jar
+  - PR519: 100% CPU usage when displaying applets in Webkit based browsers
 
 New in release 1.8.1 (2010-07-28):
 
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Fri Sep 17 15:01:17 2010 +0100
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Sep 29 13:37:46 2010 -0700
@@ -787,7 +787,7 @@
 
   PLUGIN_DEBUG ("ITNP_NewStream return\n");
 
-  return NPERR_NO_ERROR;
+  return NPERR_GENERIC_ERROR;
 }
 
 void