United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6783125 Plugin2: DND shortcut launch throw exceptions if applet JNLP href has no codebase
JDK-6783125 : Plugin2: DND shortcut launch throw exceptions if applet JNLP href has no codebase

Details
Type:
Bug
Submit Date:
2008-12-10
Status:
Closed
Updated Date:
2010-09-08
Project Name:
JDK
Resolved Date:
2008-12-21
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u12
Fixed Versions:
6u12 (b03)

Related Reports
Relates:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

This is a regression from 6u11. must fix in 6u12.
                                     
2008-12-10



Hardware and Software, Engineered to Work Together