diff options
author | chibash <chiba@javassist.org> | 2014-05-07 12:18:15 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2014-05-07 12:18:15 +0900 |
commit | fd785d5ee3725cff93d6c391bb77ca11835c59b8 (patch) | |
tree | 7a890fdbe8f6a136a46bceb99393eb683c5e9102 | |
parent | c135f69c8b4d6f64ce22ade1fa9f76c614bb280e (diff) | |
download | javassist-fd785d5ee3725cff93d6c391bb77ca11835c59b8.tar.gz javassist-fd785d5ee3725cff93d6c391bb77ca11835c59b8.zip |
added the version number for Java8 class files
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | src/main/javassist/bytecode/ClassFile.java | 6 |
2 files changed, 7 insertions, 0 deletions
@@ -8,5 +8,6 @@ lib/ .DS_Store .classpath .project +.settings TestLog.xml 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 @@ -88,6 +88,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). * It is 49 (JDK 1.5) |