diff options
author | chibash <chiba@javassist.org> | 2016-07-31 11:03:51 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2016-07-31 11:03:51 +0900 |
commit | 74e404b12225696bdd9d634d1f93172ff439b6b9 (patch) | |
tree | 65a57fa09913b6f901842dc49cb9f924f4cddf8e /src/main/javassist/ClassPoolTail.java | |
parent | 2321430bd34e0e576435e2f16b3736f5ce7e2053 (diff) | |
download | javassist-74e404b12225696bdd9d634d1f93172ff439b6b9.tar.gz javassist-74e404b12225696bdd9d634d1f93172ff439b6b9.zip |
adds ModuleClassPath.java
Diffstat (limited to 'src/main/javassist/ClassPoolTail.java')
-rw-r--r-- | src/main/javassist/ClassPoolTail.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main/javassist/ClassPoolTail.java b/src/main/javassist/ClassPoolTail.java index e2ace76e..7e62a861 100644 --- a/src/main/javassist/ClassPoolTail.java +++ b/src/main/javassist/ClassPoolTail.java @@ -234,8 +234,9 @@ final class ClassPoolTail { } public ClassPath appendSystemPath() { - appendClassPath(new ClassClassPath()); - return appendClassPath(new ClassClassPath(CtClass.class)); + ClassLoader cl = Thread.currentThread().getContextClassLoader(); + appendClassPath(new LoaderClassPath(cl)); + return appendClassPath(new ModuleClassPath()); } public ClassPath insertClassPath(String pathname) |