Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6879183

Regression : JavaHelp HelpSet parsing broken under Web Start since 1.5.0_16

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coffeys Sean Coffey
                Reporter:
                dkorbel David Korbel (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: