summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pf4j/src/main/java/org/pf4j/PluginClassLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/PluginClassLoader.java b/pf4j/src/main/java/org/pf4j/PluginClassLoader.java
index 8dc8415..4cf59ae 100644
--- a/pf4j/src/main/java/org/pf4j/PluginClassLoader.java
+++ b/pf4j/src/main/java/org/pf4j/PluginClassLoader.java
@@ -133,7 +133,7 @@ public class PluginClassLoader extends URLClassLoader {
// try to load from parent
try {
return super.loadClass(className);
- } catch (ClassCastException e) {
+ } catch (ClassNotFoundException e) {
// try next step
}