aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2010-03-08 09:55:26 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2010-03-08 09:55:26 +0000
commit4a57455094a48fbdd5d2053a811a8dd389d27b07 (patch)
tree66578e66f8c0356b0275ab8afbfe20e0ff3fc984
parent9420f2eabc1b9ec17b64a7720b7ec207c9cf7a39 (diff)
downloadjavassist-4a57455094a48fbdd5d2053a811a8dd389d27b07.tar.gz
javassist-4a57455094a48fbdd5d2053a811a8dd389d27b07.zip
JIRA 105
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@515 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-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 6c90b357..1cd9048b 100644
--- a/src/main/javassist/bytecode/ClassFile.java
+++ b/src/main/javassist/bytecode/ClassFile.java
@@ -82,6 +82,12 @@ public final class ClassFile {
public static final int JAVA_6 = 50;
/**
+ * The major version number of class files
+ * for JDK 1.7.
+ */
+ public static final int JAVA_7 = 51;
+
+ /**
* The major version number of class files created
* from scratch. The default value is 47 (JDK 1.3)
* or 49 (JDK 1.5) if the JVM supports <code>java.lang.StringBuilder</code>.