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

JarURLConnection could mishandle file: scheme

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • core-libs
    • None
    • beta2
    • generic
    • generic

      The class sun.net.www.protocol.jar.URLJarFile may confuse the location of a resource for a URL which specifies the file: scheme.

      According to RFC 1738 the file URL scheme has the following syntax:

       file://<host>/<path>

      The current implementation of this class assumes that if the scheme is file
      the resource will be reachable as a local file and ignores the possibility that the <host> may be specified.

            jccollet Jean-Christophe Collet (Inactive)
            gellisonsunw Gary Ellison (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: