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

cancelling "Security warning" dialog still tries to download/cache <jar href="https://server/jar.jar

XMLWordPrintable

    • generic
    • generic

      JDK-Info:
      ---------
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b46)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b46, mixed mode, sharing)


      Operating System:
      -----------------
      Generic


      Steps to Reproduce:
      -------------------
      1) Install JDK
      2) Clean cache
      3) Launch a JNLP Application (./javaws http://nicole1.sfbay.sun.com:8080/JavaWSTests/https/https_inside.jnlp) which has the following jar reference (https://):

      <resources>
          ..
          ..
          <jar href="https://nicole1.sfbay.sun.com:8443/javaws_https/jar/hellojaws.jar" download="eager" main="false"/>
          ..
          ..
      </resources>

      4) Cancel or click on "No" on the "Security warning" dialog

      The jar is still tried to be downloaded/cached and the error dialog "Unable to launch the application" is displayed:

      com.sun.deploy.net.FailedDownloadException: Unable to load resource: https://nicole1.sfbay.sun.com:8443/javaws_https/jar/hellojaws.jar
      at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
      at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)

            ngthomas Thomas Ng (Inactive)
            rkumarsunw Ram Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: