JDK-6690159 : Pressing Cancel on Additional Download causing application to close
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: beta,6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows,windows_xp
  • CPU: x86
  • Submitted: 2008-04-17
  • Updated: 2010-12-03
  • Resolved: 2009-01-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
6u12 b01Fixed 7Fixed
Related Reports
Duplicate :  
Here is a scenario :

Install Kernel JRE
Launch any application say  -Java Control Panel
(Control Panel Launches )
Click  Security Tab and click on Certificates Tab.
Now Additional Download Dialog will appear , due to some reason (slow network) downloading taking some time. He thought of canceling the download. Now pressing cancel will pop up a Kernel -Error dialog  , clicking ok on it will close the application.   ( There is no cancel on this Error dialog)

Problems I have faced and users may face -
I was working with  Ebugster (for updating a bug ) after updating the bug I clicked attach button, which started Additional Bundle progress dialog . I clicked cancel on it  as it was taking some time and clicked on Kernel Error dialog.   I lost all my changes and Ebugster got closed.

Need ask the users permission before closing -  
OK/ Cancel .
The confirmation dialog could read as:

title bar: Cancel - Additional Components
panel:Canceling the installation od additional components which the application needs may cause the application to exit. Are you sure you want to cancel the installation of additional components?
buttons: Yes [ No]

For appearance of the dialog see the attachment.

EVALUATION Solution is to add standard dialog and return to download if user will chose to not cancel it.