SUGGESTED FIX
6673085 : Adding robustness to LiveConnect's ResultHandler [Kenneth Russell, Hao Dong]
sun.plugin2.message.StartAppletResultMessage
was: sun.plugin2.message.StartAppletAbortedMessage
Handling both applet-ready or not ready
sun.plugin2.message.AppletMessage
New marker class, delineate applet related messages,
which holds the appletID.
All messages derived from AppletMessages will be queued
to an AppletID -> List<AppletMessage> until appletReady.
After receiving this appletReady this queue will be drained.
The following messages are AppletMessages now:
sun.plugin2.message.CookieOpMessage
sun.plugin2.message.GetAppletMessage
sun.plugin2.message.GetAuthenticationMessage
sun.plugin2.message.GetNameSpaceMessage
sun.plugin2.message.GetProxyMessage
sun.plugin2.message.HeartbeatMessage
sun.plugin2.message.JavaScriptBaseMessage
sun.plugin2.message.JavaScriptGetWindowMessage
sun.plugin2.message.ModalityChangeMessage
sun.plugin2.message.PluginMessages
sun.plugin2.message.PrintAppletMessage
sun.plugin2.message.PrintAppletReplyMessage
sun.plugin2.message.PrintBandMessage
sun.plugin2.message.PrintBandReplyMessage
sun.plugin2.message.SetAppletSizeMessage
sun.plugin2.message.ShowDocumentMessage
sun.plugin2.message.ShowStatusMessage
sun.plugin2.message.StartAppletResultMessage
sun.plugin2.message.StopAppletMessage
sun.plugin2.message.SynthesizeWindowActivationMessage
JVMInstance/JVMManager:
Added handling of a positive StartAppletResultMessage (appletReady),
which drains the AppletMessage queue and remove it (JVMManager).
sendMessage tries to queue AppletMessages.
If successfull it stops right there, else it sends the message
over the wire.
LiveConnectSupport / ResultHandler / JVMManager
Removed 'appletRelaunchedMap' and the resend LiveConnect message,
since this is no more needed.
JVMManager/JVMInstance/PluginMain
- Removed the earmarking of SetAppletSize
com.sun.deploy.util.OrderedHashSet
- Fixing equals, so it uses the LinkedList.equals()
|