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

Remove ftp from the required list of protocol handlers

XMLWordPrintable

    • b63
    • Verified


      java.net.URL specifies that the following protocols are guaranteed to exist on the search path :-

               http, https, ftp, file, and jar
           
      ftp is a legacy protocol and has been superseded by protocols such as sftp for some time. We should consider removing ftp from this list to allow for this protocol handler to be dropped some time in the future.

      Another motivation to removing ftp from the list is that it allows it to be removed from the smallest profile or base module. That will allow 75k (uncompressed) of classes to be moved to another module.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: