You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Matt Burgess (JIRA)" <ji...@apache.org> on 2016/08/22 15:04:20 UTC

[jira] [Created] (NIFI-2619) ClassLoaderUtils doesn't support spaces between paths or URLs in the paths

Matt Burgess created NIFI-2619:
----------------------------------

             Summary: ClassLoaderUtils doesn't support spaces between paths or URLs in the paths
                 Key: NIFI-2619
                 URL: https://issues.apache.org/jira/browse/NIFI-2619
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Matt Burgess
            Assignee: Matt Burgess


ClassLoaderUtils.getCustomClassLoader() splits a module path list on a comma, but doesn't trim the individual entries.

Also in ClassLoaderUtils.getURLsForClasspath(), it is assumed that the paths are Files, but they could also already be URLs. Logic should be added to check if the path is already a valid URL, and add it to the list if so.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)