changeset 2282:f41b0a7fbd70

PR554: System.err writes content two times 2010-10-04 Paul Ebermann <Paul-Ebermann@gmx.de> Omair Majid <omajid@redhat.com> Fixes PR554. * plugin/icedteanp/java/sun/applet/PluginMain.java (write): Remove method.
author Omair Majid <omajid@redhat.com>
date Mon, 04 Oct 2010 18:13:02 -0400
parents 145255946142
children 4698e476b886 d8115f447e6f
files ChangeLog NEWS plugin/icedteanp/java/sun/applet/PluginMain.java
diffstat 3 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Oct 04 11:13:32 2010 -0400
+++ b/ChangeLog	Mon Oct 04 18:13:02 2010 -0400
@@ -1,3 +1,10 @@
+2010-10-04  Paul Ebermann  <Paul-Ebermann@gmx.de>
+	        Omair Majid <omajid@redhat.com>
+
+	Fixes PR554.
+	* plugin/icedteanp/java/sun/applet/PluginMain.java
+	(write): Remove method.
+
 2010-10-04  Omair Majid  <omajid@redhat.com>
 
 	* /netx/net/sourceforge/jnlp/PluginBridge.java
--- a/NEWS	Mon Oct 04 11:13:32 2010 -0400
+++ b/NEWS	Mon Oct 04 18:13:02 2010 -0400
@@ -19,6 +19,7 @@
 * Netx
   - A new man page for javaws.
 * Plugin  
+  - PR554: System.err writes content two times
   - PR556: Applet initialization code is prone to race conditions
   - PR557: Applet opens in a separate window if tab is closed when the applet loads
   - PR519: 100% CPU usage when displaying applets in Webkit based browsers
--- a/plugin/icedteanp/java/sun/applet/PluginMain.java	Mon Oct 04 11:13:32 2010 -0400
+++ b/plugin/icedteanp/java/sun/applet/PluginMain.java	Mon Oct 04 18:13:02 2010 -0400
@@ -314,14 +314,6 @@
             if (!redirectStreams)
                 super.write(b);
         }
-
-        @Override
-        public void write(byte[] b) throws IOException {
-            logFile.write(b);
-            
-            if (!redirectStreams)
-                super.write(b);
-        }
     }
     
 }