United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7032687 Dragged-out applet can be closed when close browser
JDK-7032687 : Dragged-out applet can be closed when close browser

Details
Type:
Bug
Submit Date:
2011-03-31
Status:
Closed
Updated Date:
2011-07-18
Project Name:
JDK
Resolved Date:
2011-05-31
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
Follow up with CR7019614. A different cause can still cause dragged-out applet to be closed as the transport between client VM and server VM throws out IOException.

This is a regression. IOException is expected when browser is closed. The client VM should not exit unless there is no dragged-out applet hosting in the VM.

                                    

Comments
EVALUATION

pipe and handleMessage can throw IOException cause the client VM to exit, which should not be the case.

For pipe exceptions, it is very likely caused by browser closed, and we lost communication to browser anyway. Thus we should leave with only dragged-out applets running, which will then exit the VM when last instance of dragged-out applet closed through the DragListener interface.

For other IOException, it is better leave the loop, and let the caller decide what is appropriate operation.
                                     
2011-03-31



Hardware and Software, Engineered to Work Together