From a499e0df815291052d1133f576f76519f68667f6 Mon Sep 17 00:00:00 2001 From: chibash Date: Wed, 7 May 2014 12:18:15 +0900 Subject: added the version number for Java8 class files --- src/main/javassist/bytecode/ClassFile.java | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java index a7d53fc9..7a308adb 100644 --- a/src/main/javassist/bytecode/ClassFile.java +++ b/src/main/javassist/bytecode/ClassFile.java @@ -87,6 +87,12 @@ public final class ClassFile { */ public static final int JAVA_7 = 51; + /** + * The major version number of class files + * for JDK 1.8. + */ + public static final int JAVA_8 = 52; + /** * The major version number of class files created * from scratch. The default value is 47 (JDK 1.3). -- cgit v1.2.3