This is an automated email from the ASF dual-hosted git repository. kdoran pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/nifi-maven.git
The following commit(s) were added to refs/heads/main by this push: new 12d7012 NIFI-10599 Correct class loader creation when reaching top of chain 12d7012 is described below commit 12d7012de5250c424aa16586c30b0824246e95c4 Author: Bryan Bende <bbe...@apache.org> AuthorDate: Thu Oct 6 12:45:17 2022 -0400 NIFI-10599 Correct class loader creation when reaching top of chain This closes #22. Signed-off-by: Kevin Doran <kdo...@apache.org> --- .../extension/definition/extraction/ExtensionClassLoaderFactory.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java b/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java index e840cb2..66d7f0d 100644 --- a/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java +++ b/src/main/java/org/apache/nifi/extension/definition/extraction/ExtensionClassLoaderFactory.java @@ -100,8 +100,7 @@ public class ExtensionClassLoaderFactory { final Artifact nar = removeNarArtifact(artifacts); if (nar == null) { - final ExtensionClassLoader providedEntityClassLoader = createProvidedEntitiesClassLoader(artifactsHolder); - return createClassLoader(artifacts, providedEntityClassLoader, null); + return createProvidedEntitiesClassLoader(artifactsHolder); } final Set<Artifact> narDependencies = getNarDependencies(nar);