From 3caa5b72d099ddda873b42d0de537ad07c512d05 Mon Sep 17 00:00:00 2001 From: Decebal Suiu Date: Mon, 10 Aug 2020 20:21:38 +0300 Subject: Fix #391 --- pf4j/src/main/java/org/pf4j/ClassLoadingStrategy.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3