-
Bug
-
Resolution: Fixed
-
P3
-
6
-
b02
-
generic, x86
-
generic, windows_xp
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2199879 | 7 | Andy Herrick | P3 | Resolved | Fixed | b64 |
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:
<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.
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:
<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.
- backported by
-
JDK-2199879 improve javaws.exe native parser to handle <java> element
-
- Resolved
-
- duplicates
-
JDK-6536780 WebStart seems to be trying to open the old (deleted) .jnlp file after updating.
-
- Closed
-