Browse Source

added the version number for Java8 class files

tags/rel_3_19_0_ga
chibash 10 years ago
parent
commit
fd785d5ee3
2 changed files with 7 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 6
    0
      src/main/javassist/bytecode/ClassFile.java

+ 1
- 0
.gitignore View File

.DS_Store .DS_Store
.classpath .classpath
.project .project
.settings
TestLog.xml TestLog.xml



+ 6
- 0
src/main/javassist/bytecode/ClassFile.java View File

*/ */
public static final int JAVA_7 = 51; 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 * The major version number of class files created
* from scratch. The default value is 47 (JDK 1.3). * from scratch. The default value is 47 (JDK 1.3).

Loading…
Cancel
Save