JDK-7019610 : cannot launch dragged out applet from shortcut, get ClassCastException
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows,windows_xp
  • CPU: generic,x86
  • Submitted: 2011-02-15
  • Updated: 2013-09-12
  • Resolved: 2011-05-16
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.
JDK 7
7 b139Fixed
Related Reports
Duplicate :  
Duplicate :  
Description
Tested JRE: b130-pit  http://rehudson.sfbay.sun.com/hudsonws/deploypit/bundles/ Label: b255-2011-02-10_39
Tested OS: winxp
Tested Browser: firefox3.6, IE8

Steps to reproduce:
1) Clear deploment cache 
2) Launch the following applet in browser:
http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/plugin/Decoration/Decoration/html/DecorationTrueJnlp.html
this jnlp applet can be dragged out, and has shortcut hint in jnlp file
3) Drag the applet out of browser
4) Close the browser
5) When prompting whether to create a desktop shortcut, click "OK"
6) Close the applet
7) Launch the applet from desktop shortcut, if the applet can not be launched from desktop, the bug is reproduced

If we create the shortcut by "javaws -import -silent -shortcut http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/plugin/Decoration/Decoration/html/DecorationTrueJnlp.jnlp", the applet can be launched correctly from desktop shortcut

Source code location:
http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/plugin/Decoration/Decoration/src/