From: Decebal Suiu Date: Mon, 10 Aug 2020 17:21:38 +0000 (+0300) Subject: Fix #391 X-Git-Tag: release-3.4.1~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3caa5b72d099ddda873b42d0de537ad07c512d05;p=pf4j.git Fix #391 --- diff --git a/pf4j/src/main/java/org/pf4j/ClassLoadingStrategy.java b/pf4j/src/main/java/org/pf4j/ClassLoadingStrategy.java index 6b7f6fe..1426abd 100644 --- a/pf4j/src/main/java/org/pf4j/ClassLoadingStrategy.java +++ b/pf4j/src/main/java/org/pf4j/ClassLoadingStrategy.java @@ -37,7 +37,7 @@ public class ClassLoadingStrategy { /** * application(parent) -> dependencies -> plugin */ - public static final ClassLoadingStrategy ADP = new ClassLoadingStrategy(Arrays.asList(Source.APPLICATION, Source.DEPENDENCIES, Source.APPLICATION)); + public static final ClassLoadingStrategy ADP = new ClassLoadingStrategy(Arrays.asList(Source.APPLICATION, Source.DEPENDENCIES, Source.PLUGIN)); /** * plugin -> application(parent) -> dependencies