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

JNLPClassLoader can still return unencoded URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • 1.2.0
    • deploy
    • b09
    • x86
    • windows_nt, windows_2000

      JNLPClassLoader returns illegal URL values from ClassLoader.findResource()
      if the base directory for the cache contains characters illegal in URL's.
      For example, on Windows the default deployment.userHome is commonly:
      C:/XXX/Application Data/Sun/Java/Deployment
      this will result of cached resource being returned as:

      jar:file:C:/XXX/Application Data/Sun/Data/Deployment/cache/http/YYY/resource.jar

      the space in "Application Data" is not a legal character in a url and should
      be encoded as "%20". the returned url should be:

      jar:file:C:/XXX/Application%20Data/Sun/Data/Deployment/cache/http/YYY/resource.jar

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: