JDK-6783125 : Plugin2: DND shortcut launch throw exceptions if applet JNLP href has no codebase
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u12
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-12-10
  • Updated: 2010-09-08
  • Resolved: 2008-12-21
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 b03Fixed
Related Reports
Relates :  
JNLP applets run in Plugin2 do not need codebase or absolute url in href because those can be inferred from the original html page. For example, an jnlp_href file can have only <jnlp href="applet.jnlp">. 

When such applets are dragged out of browser and desktop shortcuts are created, we save documentbase and codebase in deployment cache in order to be able launch the shortcut just as run from the web.

Java Webstart has different requirement. It must have either absolute codebase or absolute uri in the href in jnlp files.

Since 6u12, desktop shortcut launch is using java webstart launcher code in order to gain relaunch capability. Because java webstart cannot parse jnlp file without knowing the codebase or absolute href, some JNLP applets cannot be launched from shortcuts.

This is a regression in 6u12 and must be fixed.

EVALUATION This is a regression from 6u11. must fix in 6u12.