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

URL.openStream() throws AccessControlException when opening path with space char

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • deploy
    • None
    • x86
    • windows_nt

      customer is running an applet via a file url from a jar
      file with a pathname that includes a space character.
      when they open an input stream from a url made up of
      the codebase (getDocumentBase()) & a filename, the URL's
      openStream() method throws an AccessControlException.

      this only happens with the 1.4.0 plugin - 1.3.1 was ok.

      to test this, try running the applet at:

      file:/net/kelvin.uk/export/dts/calls/417972/space dir/jdk14bug.htm

            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: