[
https://issues.apache.org/jira/browse/NIFI-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15431424#comment-15431424
]
ASF GitHub Bot commented on NIFI-2619:
--------------------------------------
Github user YolandaMDavis commented on the issue:
https://github.com/apache/nifi/pull/907
@mattyb149 thanks for applying that change. I tested on standalone node
with Jolt Transform processor using a list of customjars (included extra
commas, spaces etc) and works as expected with no exceptions thrown.
+1
Will squash and merge shortly
> 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)