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

url used for finding resource is not correct when importing a jnlp whose jar file has ".." in href

    XMLWordPrintable

Details

    • b33
    • generic
    • windows_xp
    • Verified

    Backports

      Description

        test env:
        jre8 b28, winxp

        steps to reproduce:
        1) download following jnlp to local dir like c:
        http://sqeweb.sfbay.sun.com/jsn/users/fred/reproduce/overwritecodebase/jnlp/BAT_simple.jnlp
        2) import it by "javaws -import -codebase http://sqeweb.sfbay.sun.com/jsn/users/fred/reproduce/overwritecodebase/jnlp file:///c:/BAT_simple.jnlp"
        if app can't be imported due to following error, bug is reproduced.
        Unable to load resource: http://sqeweb.sfbay.sun.com/jsn/users/fred/reproduce/ovewritecodebase/jnlp/sses/hellojaws.jar

        if download another jnlp, http://sqeweb.sfbay.sun.com/jsn/users/fred/reproduce/overwritecodebase/BAT_simple.jnlp and import it by "javaws -import -codebase http://sqeweb.sfbay.sun.com/jsn/users/fred/reproduce/overwritecodebase file:///c:/BAT_simple.jnlp", the app can be imported successfully.

        Attachments

          Issue Links

            Activity

              People

                nam Nam Nguyen (Inactive)
                qgong Fred Gong (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: