summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2014-05-07 12:18:15 +0900
committerScott Marlow <smarlow@redhat.com>2014-05-27 12:12:54 -0400
commita499e0df815291052d1133f576f76519f68667f6 (patch)
treecf5ace70f7d30de792522d5bd0d2e5352d5d075e /src
parent7b73bcb55349356b3819c732a18d8a20bf5073d6 (diff)
downloadjavassist-a499e0df815291052d1133f576f76519f68667f6.tar.gz
javassist-a499e0df815291052d1133f576f76519f68667f6.zip
added the version number for Java8 class files
Diffstat (limited to 'src')
-rw-r--r--src/main/javassist/bytecode/ClassFile.java6
1 files changed, 6 insertions, 0 deletions
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)