JDK-7000971 : Image is missing from the Desktop shortcut icon
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2010-11-17
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
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 b125Fixed
Related Reports
Relates :  
Description
Desktop shorctut icon are getting created with no images. By default icons  should get created using "Java cup" image and  for cutomized icons , image reffered against  the relevant jnlp tag should be picked up. But that's not happening with JDK7 

Steps to reprdocue:
1) Install latest JDK7 JRE bundle
2) Run following apps
http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/jnlp/SimpleJNLPTest.jnlp
http://sqeweb.sfbay.sun.com/deployment2/jitu/latest_ws_test/6/deployment/src/plugin/JNLPSupport/JNLPSupport/jnlp/SimpleJNLPCustTest.jnlp
3) Allow to create shorctut
4) if shorctuts are getting cerated using with no image then bug is reproduced

Comments
EVALUATION The reason the problem does not appear on 1.6 was that the shortcut created does not have long argument as on 7. The reason was added arguments by Andy to fix bug 6923172. One solution other than go back to the old limit of 260 chars, is to review the common/windows/native/Platform.cpp createShortcut code for possibility of increase the limit according to IShellLink.SetArguments() documentation. Please see the attached TestShortcut program for digging further in this direction. Reassign to Andy for final solution.
21-12-2010