JDK-6879183 : Regression : JavaHelp HelpSet parsing broken under Web Start since 1.5.0_16
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 5.0u17
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2009-09-04
  • Updated: 2016-04-26
  • Resolved: 2010-04-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.
Other
5.0u25Resolved
Related Reports
Duplicate :  
Relates :  
Description
OPERATING SYSTEM(S):
All

FULL JDK VERSION(S):
All JDK 5 versions since 1.5.0_16. However, the nature of this failure changed
slightly in 1.5.0_17 (see below for details).
All JDK 1.4.2 versions since 1.4.2_19.
Does not occur on JDK 6.

DESCRIPTION:
This regression appears to be a result of fixing CR 6746185.

We are unable to parse a JavaHelp HelpSet for one of our products when that product is launched via Web Start. The problem does not occur if the application is executed via the normal java laucnher (i.e. not via Web Start).

The same code worked fine before 1.5.0_16. In 1.5.0_16 the parsing fails with a MalformedURLException. This problem is described in CR 6746185, which is tagged as fixed in 1.5.0_17. However, with 1.5.0_17 and above we still cannot parse our HelpSet under Web Start - it fails with a simple "parsing failed" error message:

--
Parsing failed for jar:file:c:/test/help/speHelp.jar!/html/Map.map
--

This parsing failure prevents our JavaHelp content from appearing when our users select it from the Help menu in our application.

I suspect the problem is related to the one of these Web Start fixes in the Q4 2008 SSR:

    http://sunsolve.sun.com/search/document.do?assetkey=1-66-238905-1

But as far as we can tell there is nothing we can do about this parsing failure because it is the JavaHelp code that is failing, not our code.

REPRODUCTION INSTRUCTIONS:
Testcase "test.tar" is attached to this bug report.
1. Edit the codebase tage in the attached testcase's JNLP file to point to the correct location.
2. Enable the Java console in the Java Control Panel.
3. Launch the JNLP file via the javaws executable.
4. Observe the parsing failure.

Comments
EVALUATION This appears related to CR 6767754. closing as a duplicate
08-04-2010

EVALUATION jar:file:c:/test/help/speHelp.jar!/html/Map.map is the correct JAR URL. I believe the same should be returned with JDK 6 too ? Since probem only happens with 5 or below, assigning to sustaining to investigate further.
04-09-2009