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

Code loaded by JNLPClassLoader should have CodeSource with correct codebase.

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 6
    • 6
    • deploy
    • None
    • x86
    • windows_xp

      In Java Web Start 1,5 and before, The CodeSource of code loaded by the JNLPClassLoader has the Codebase of the location in the cache where the code was loaded from.
      This could be changed to have the Codebase be the URL of the resource on the net

      In JNLPClassLoader, a findResource() returns a JAR url of a file url of the jar in the cache.
      In Java Plug-in if you do a findResource() you get a JAR url into the jar on the net.

      These should be made consistant.

            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: