JDK-6959987 : JNLP applications should get launched only if proper/valid codebase is specified inside the JNLP
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u21
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2010-06-09
  • Updated: 2011-03-01
  • Resolved: 2011-03-01
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
7Resolved
Related Reports
Duplicate :  
Description
Javawebtart application using JNLP with no codebase or codebase as "." should not get launched using "javaws" or from desktop shortcut but that's not the case as of now.
1) Install JRE6u21 and run any of the jnlp application below:
http://sqeweb.sfbay.sun.com/deployment2/jitu/deployment_mustang_exec_ws/deployment/src/javaws/FunctionalTest/FunctionalTest/jnlp/SimpleJNLPTest.jnlp
http://sqeweb.sfbay.sun.com/deployment2/jitu/deployment_mustang_exec_ws/deployment/src/javaws/FunctionalTest/FunctionalTest/jnlp/SimpleJNLPTest1.jnlp
2) Allow to create shortcut
3) Application will get launched. Now try to launch same app from desktop shortcut and application will get laucnhed again

Another problem is that when we do "javaws -unistall" then desktop shortcut icon against the application mentioned above will not get removed

If you are able to reproduce the behavior then bug is reproduced

Comments
EVALUATION we should make sure we take care of this case properly when we re-introduce the no-codebase feature for jnlp applications
10-06-2010