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

@@ -8,5 +8,6 @@ lib/
.DS_Store
.classpath
.project
.settings
TestLog.xml


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

@@ -87,6 +87,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).

Loading…
Cancel
Save