JDK-6586732 : Can't create multilevel submenus
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2003
  • CPU: x86
  • Submitted: 2007-07-30
  • Updated: 2011-02-16
  • Resolved: 2007-07-30
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)


ADDITIONAL OS VERSION INFORMATION :
Windows 2003 Server with SP1, 5.2.3790

A DESCRIPTION OF THE PROBLEM :
-> is one level of menu, last element is link to application.
JavaWS doesn't create menu item A->B->App with this JNLP file (only significant parts are included):

...
<title>App</title>
...
<shortcut online="true">
	<desktop/>
	<menu submenu="A\B"/>
</shortcut>
...

It creates A-B->App. It is specific to JDK/JRE 1.6 and was reported as BUG #6431601.
  Bug #6431601 was closed because of different syntax of example, but bug is still there!
Inspired by this bug I tried A/B and A\B syntax but it still doesn't work even in 1.5 worked both.


STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use JNLP fragment:

...
<title>App</title>
...
<shortcut online="true">
	<desktop/>
	<menu submenu="A\B"/>
</shortcut>
...

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
-> is one level of menu, last element is link to application.

Menu A->B->App should be created. App is link to application, not level of menu.

ACTUAL -
-> is one level of menu, last element is link to application.

Menu A-B->App is created. Character - between A and B is part of menu name.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
see steps to reproduce
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
none found

Comments
EVALUATION this was fixed in 6u3 as cr #6550242
30-07-2007