Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6537987
Votes 2
Synopsis improve javaws.exe native parser to handle <java> element
Category javawebstart:general
Reported Against
Release Fixed 6u14(b02)
State 11-Closed, Unverified, bug
Priority: 3-Medium
Related Bugs 6536780
Submit Date 23-MAR-2007
Description
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.
Posted Date : 2007-03-23 01:20:35.0

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.
Posted Date : 2007-03-28 21:22:11.0

another problem with native parser - we cannot handle mutliple resources tag:

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

This jnlp file will not be parsed by the javaws.exe parser.
Posted Date : 2007-04-03 20:53:39.0
Work Around
N/A
Evaluation
add "java" element support to native parser
Posted Date : 2007-03-23 01:21:13.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang