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

Help set not loading from jar:An exclamation mark in zip entry related regre

    Details

    • Subcomponent:
    • Resolved In Build:
      b86
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE REGRESSION :
      Java Web Start 1.6.0-beta
      Using JRE version 1.6.0-beta Java HotSpot(TM) Client VM

      This code works in production:

      String PATH_HELPROOT="com/agris/apps/binmgmt/gui/help/!SSL!/JavaHelp/System_Help.hs";
                  ClassLoader cl = HelpUtil.class.getClassLoader();
                  URL url = cl.getResource(PATH_HELPROOT);
                  helpSet = new HelpSet(cl, url);

      I think the exclamation points in the path are causing problems. This is an artifact of some design tool (robohelp, perhaps). A 3rd party manages our help content.

      REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
      String PATH_HELPROOT="com/agris/apps/binmgmt/gui/help/!SSL!/JavaHelp/System_Help.hs";
                  ClassLoader cl = HelpUtil.class.getClassLoader();
                  URL url = cl.getResource(PATH_HELPROOT);
                  helpSet = new HelpSet(cl, url);



      RELEASE LAST WORKED:
      5.0

      RELEASE TEST FAILS:
      mustang-beta

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I expect to get an instance of HelpSet.


      ACTUAL -
      Exception is: javax.help.HelpSetException: Could not parse
      Got an IOException (http://localhost:8080/app/com.agris.apps.binmgmt.gui.jar!/com/agris/apps/binmgmt/gui/help/!SSL)



      OBSERVED APPLICATION IMPACT:
      My application is not loading its HelpSet, so help is not available. We will not be migrating to Java SE 6 until this is fixed.

      Release Regression From : mustang
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michaelm Michael McMahon
                Reporter:
                avishentsunw Alexey Vishentsev (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: