From 873e5a5ef8e356362bff17a4975a0a60266b65a5 Mon Sep 17 00:00:00 2001 From: chibash Date: Wed, 31 May 2017 01:52:09 +0900 Subject: [PATCH] to support Java 9-ea+171 --- src/main/javassist/bytecode/ClassFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java index 80abe7be..1a404cff 100644 --- a/src/main/javassist/bytecode/ClassFile.java +++ b/src/main/javassist/bytecode/ClassFile.java @@ -150,7 +150,7 @@ public final class ClassFile { ver = JAVA_7; Class.forName("java.util.function.Function"); ver = JAVA_8; - Class.forName("java.lang.reflect.Module"); + Class.forName("java.lang.Module"); ver = JAVA_9; } catch (Throwable t) {} -- 2.39.5