Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-2619

ClassLoaderUtils doesn't support spaces between paths or URLs in the paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Resolved
    • None
    • 1.0.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: