changeset 1673:b732a13ecc53

Fix minor logic bug introduced in previous commit.
author Deepak Bhole <dbhole@redhat.com>
date Wed, 26 Aug 2009 01:16:37 -0400
parents d8cd6df4b152
children ce4af55508b6
files ChangeLog plugin/icedtea/sun/applet/PluginAppletViewer.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Aug 25 12:06:34 2009 -0400
+++ b/ChangeLog	Wed Aug 26 01:16:37 2009 -0400
@@ -1,3 +1,8 @@
+2009-08-26  Deepak Bhole <dbhole@redhat.com>
+
+	* plugin/icedtea/sun/applet/PluginAppletViewer.java
+	(handleMessage): Fix logic bug introduced in previous commit.
+
 2009-08-25  Lillian Angel  <langel@redhat.com>
 
 	* NEWS: Added CVEs.
--- a/plugin/icedtea/sun/applet/PluginAppletViewer.java	Tue Aug 25 12:06:34 2009 -0400
+++ b/plugin/icedtea/sun/applet/PluginAppletViewer.java	Wed Aug 26 01:16:37 2009 -0400
@@ -589,7 +589,7 @@
 
              // Wait for the panel to initialize
              // (happens in a separate thread)
-             while (panel == null || (o = panel.getApplet()) == null && ((NetxPanel) panel).isAlive()) {
+             while (panel == null || ((o = panel.getApplet()) == null && ((NetxPanel) panel).isAlive())) {
             	 try {
             		 Thread.sleep(2000);
             		 PluginDebug.debug("Waiting for applet to initialize...");