JDK-6537987 : improve javaws.exe native parser to handle element
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,windows_xp
  • CPU: generic,x86
  • Submitted: 2007-03-23
  • Updated: 2010-09-24
  • Resolved: 2009-05-13
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.
6u14 b02Fixed 7Fixed
Related Reports
Duplicate :  
our native xml parser do not reconize the new "java" tag; it only support "j2se" tag.  So we will always relaunch if jnlp uses java tag with a old jre.

See launchFile.c, function ParseXMLLaunchFile.
we should make our native javaws.exe xml parser works the same as the java parser.  there might be limitations, but we should make them as close as possible.

another issue with the current native parser is it won't pares the jnlp file unless the encoding specified is utf-8.  we should investigate if we can improve on that, to reduce the chance of re-launching on jnlp files that is not utf-8.
another problem with native parser - we cannot handle mutliple resources tag:

    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+"/>
     <jar href="SingleInstanceDemo.jar" main="true"/>
     <jar href="AppFramework.jar" />
     <jar href="swing-worker.jar" />

This jnlp file will not be parsed by the javaws.exe parser.

EVALUATION add "java" element support to native parser