diff options
author | chibash <chiba@javassist.org> | 2016-09-28 00:51:15 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2016-09-28 00:51:15 +0900 |
commit | fb93ae8b8f6e0646ed9b95d4d8d0abe77d601a62 (patch) | |
tree | 4e7c46b44dfd861a084d3917de9fad4a7e883682 /src/main/javassist/ClassPoolTail.java | |
parent | 9f1d7a2cf0408d92309145a3d63620d64206a38a (diff) | |
download | javassist-fb93ae8b8f6e0646ed9b95d4d8d0abe77d601a62.tar.gz javassist-fb93ae8b8f6e0646ed9b95d4d8d0abe77d601a62.zip |
improves the backward compatibility of LoaderClassPath.rel_3_21_0-java9-ea2
LoaderClassPath is modified to show the same behavior in both Java 8 and 9.
Diffstat (limited to 'src/main/javassist/ClassPoolTail.java')
-rw-r--r-- | src/main/javassist/ClassPoolTail.java | 3 |
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)); } } |