8151858: update ASM 5.1 to accept V53.0 classfiles
Reviewed-by: forax, sundar
This commit is contained in:
parent
99bfb14042
commit
27c0bb6266
@ -195,7 +195,7 @@ public class ClassReader {
|
||||
public ClassReader(final byte[] b, final int off, final int len) {
|
||||
this.b = b;
|
||||
// checks the class version
|
||||
if (readShort(off + 6) > Opcodes.V1_8) {
|
||||
if (readShort(off + 6) > Opcodes.V1_9) {
|
||||
throw new IllegalArgumentException();
|
||||
}
|
||||
// parses the constant pool
|
||||
|
@ -87,6 +87,7 @@ public interface Opcodes {
|
||||
int V1_6 = 0 << 16 | 50;
|
||||
int V1_7 = 0 << 16 | 51;
|
||||
int V1_8 = 0 << 16 | 52;
|
||||
int V1_9 = 0 << 16 | 53;
|
||||
|
||||
// access flags
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user