aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/ClassPoolTail.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/ClassPoolTail.java')
-rw-r--r--src/main/javassist/ClassPoolTail.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/javassist/ClassPoolTail.java b/src/main/javassist/ClassPoolTail.java
index ea148308..3e77f250 100644
--- a/src/main/javassist/ClassPoolTail.java
+++ b/src/main/javassist/ClassPoolTail.java
@@ -245,8 +245,7 @@ final class ClassPoolTail {
}
else {
ClassLoader cl = Thread.currentThread().getContextClassLoader();
- appendClassPath(new LoaderClassPath(cl));
- return appendClassPath(new ModuleClassPath());
+ return appendClassPath(new LoaderClassPath(cl, true));
}
}