summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2009-04-18 15:08:19 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2009-04-18 15:08:19 +0000
commit29bf701b71069139ccf59868ebcb7352b9f8049f (patch)
tree24b94e3f36a12f311f98ebd8fc10afe264a8512e
parent780069f8d4312a88ad580b16cc656b69ec3e23ba (diff)
downloadjavassist-29bf701b71069139ccf59868ebcb7352b9f8049f.tar.gz
javassist-29bf701b71069139ccf59868ebcb7352b9f8049f.zip
for fixing JASSIST-81
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@478 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r--src/main/javassist/bytecode/ClassFile.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java
index c087073c..b2828f20 100644
--- a/src/main/javassist/bytecode/ClassFile.java
+++ b/src/main/javassist/bytecode/ClassFile.java
@@ -47,12 +47,30 @@ public final class ClassFile {
/**
* The major version number of class files
+ * for JDK 1.1.
+ */
+ public static final int JAVA_1 = 45;
+
+ /**
+ * The major version number of class files
+ * for JDK 1.2.
+ */
+ public static final int JAVA_2 = 46;
+
+ /**
+ * The major version number of class files
* for JDK 1.3.
*/
public static final int JAVA_3 = 47;
/**
* The major version number of class files
+ * for JDK 1.4.
+ */
+ public static final int JAVA_4 = 48;
+
+ /**
+ * The major version number of class files
* for JDK 1.5.
*/
public static final int JAVA_5 = 49;