Lines 53-62
Link Here
|
53 |
this.header[this.headerOffset++] = (byte) (0xCAFEBABEL >> 0); |
53 |
this.header[this.headerOffset++] = (byte) (0xCAFEBABEL >> 0); |
54 |
|
54 |
|
55 |
long targetVersion = this.targetJDK = this.referenceBinding.scope.compilerOptions().targetJDK; |
55 |
long targetVersion = this.targetJDK = this.referenceBinding.scope.compilerOptions().targetJDK; |
56 |
|
|
|
57 |
if (targetVersion == ClassFileConstants.JDK1_7) { |
58 |
targetVersion = ClassFileConstants.JDK1_6; |
59 |
} |
60 |
this.header[this.headerOffset++] = (byte) (targetVersion >> 8); // minor high |
56 |
this.header[this.headerOffset++] = (byte) (targetVersion >> 8); // minor high |
61 |
this.header[this.headerOffset++] = (byte) (targetVersion >> 0); // minor low |
57 |
this.header[this.headerOffset++] = (byte) (targetVersion >> 0); // minor low |
62 |
this.header[this.headerOffset++] = (byte) (targetVersion >> 24); // major high |
58 |
this.header[this.headerOffset++] = (byte) (targetVersion >> 24); // major high |