diff options
author | Shigeru Chiba <chibash@users.noreply.github.com> | 2017-04-13 03:50:48 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 03:50:48 +0900 |
commit | 804ad141e0c3c9c41834ca71d124ad9cc7510d43 (patch) | |
tree | 6cea83cba58afb78f2f2229d5d25030f64863d57 /src/main | |
parent | 45ce3617423eeedca6c556543329208e540922cb (diff) | |
parent | 3cad4223928911c73afd83350238a25c7c027348 (diff) | |
download | javassist-804ad141e0c3c9c41834ca71d124ad9cc7510d43.tar.gz javassist-804ad141e0c3c9c41834ca71d124ad9cc7510d43.zip |
Merge pull request #130 from andresluuk/patch-1
A fix for older JDK8 versions: https://bugs.openjdk.java.net/browse/JDK-8041920
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/javassist/bytecode/ClassFile.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java index d97ac735..80abe7be 100644 --- a/src/main/javassist/bytecode/ClassFile.java +++ b/src/main/javassist/bytecode/ClassFile.java @@ -146,7 +146,7 @@ public final class ClassFile { ver = JAVA_5; Class.forName("java.util.zip.DeflaterInputStream"); ver = JAVA_6; - Class.forName("java.lang.invoke.CallSite"); + Class.forName("java.lang.invoke.CallSite", false, ClassLoader.getSystemClassLoader()); ver = JAVA_7; Class.forName("java.util.function.Function"); ver = JAVA_8; |