[jboss-cvs] javassist/src/main/javassist/bytecode ...
Shigeru Chiba
chiba at is.titech.ac.jp
Tue May 29 05:33:52 EDT 2007
User: chiba
Date: 07/05/29 05:33:52
Modified: src/main/javassist/bytecode ClassFile.java
Log:
the version of the class file generated from scratch was changed from JDK 1.1 to 1.3.
Revision Changes Path
1.32 +3 -3 javassist/src/main/javassist/bytecode/ClassFile.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ClassFile.java
===================================================================
RCS file: /cvsroot/jboss/javassist/src/main/javassist/bytecode/ClassFile.java,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -b -r1.31 -r1.32
--- ClassFile.java 12 May 2007 14:45:10 -0000 1.31
+++ ClassFile.java 29 May 2007 09:33:52 -0000 1.32
@@ -47,9 +47,9 @@
/**
* The major version number of class files created
- * from scratch. The value is 45 (JDK 1.1).
+ * from scratch. The value is 47 (JDK 1.3).
*/
- public static final int MAJOR_VERSION = 45;
+ public static final int MAJOR_VERSION = 47;
/**
* Constructs a class file from a byte stream.
@@ -70,7 +70,7 @@
*/
public ClassFile(boolean isInterface, String classname, String superclass) {
major = MAJOR_VERSION;
- minor = 3; // JDK 1.1 or later
+ minor = 0; // JDK 1.3 or later
constPool = new ConstPool(classname);
thisClass = constPool.getThisClassInfo();
if (isInterface)
More information about the jboss-cvs-commits
mailing list