Github user olegz commented on a diff in the pull request:
https://github.com/apache/nifi/pull/1172#discussion_r86186622
--- Diff:
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-runtime/src/main/java/org/apache/nifi/NiFi.java
---
@@ -55,6 +59,25 @@
public static final String BOOTSTRAP_PORT_PROPERTY =
"nifi.bootstrap.listen.port";
private volatile boolean shutdown = false;
+ private static final ClassLoader BOOTSTRAP_CLASSLOADER;
+
+ static {
+ //Get list of files in bootstrap folder
+ final List<URL> urls = new ArrayList<>();
+ try {
+ Files.list(Paths.get("lib/bootstrap")).forEach(p -> {
+ try {
+ urls.add(p.toUri().toURL());
+ } catch (final MalformedURLException mef) {
+ logger.warn("Unable to load " + p.getFileName() + "
due to " + mef, mef);
+ }
+ });
+ } catch (final IOException ex) {
+ logger.error("Unable to properly initialize bootstrap
classloader due to " + ex, ex);
--- End diff --
Does this mean we can/should continue?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---