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

URL package handler doesn't support experimental 'x-' URL schemes

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.4.0
    • core-libs
    • generic
    • generic

      The arrangement java.net.URL uses to locate URLStreamHandlers for URL schemes
      does not work if the scheme contains a '-', '+', or a '.'. Those characters
      are permitted in URL schemes by RFC 2396, but are not permitted in Java
      package names, which is how the handlers are found.

      In particular, RFC 1738 specifies that experimental URL schemes should start
      with "x-", so there is particular reason to support dashes.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: