File tree 3 files changed +5
-1
lines changed
asm/src/main/java/org/objectweb/asm
asm-util/src/main/java/org/objectweb/asm/util
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -199,6 +199,9 @@ public void visit(
199
199
case Opcodes .V9 :
200
200
buf .append ("V9" );
201
201
break ;
202
+ case Opcodes .V10 :
203
+ buf .append ("V10" );
204
+ break ;
202
205
default :
203
206
buf .append (version );
204
207
break ;
Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ public ClassReader(
435
435
this .b = byteBuffer ;
436
436
// Check the class' major_version. This field is after the magic and minor_version fields, which
437
437
// use 4 and 2 bytes respectively.
438
- if (readShort (classFileOffset + 6 ) > Opcodes .V9 ) {
438
+ if (readShort (classFileOffset + 6 ) > Opcodes .V10 ) {
439
439
throw new IllegalArgumentException ();
440
440
}
441
441
// Create the constant pool arrays. The constant_pool_count field is after the magic,
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public interface Opcodes {
58
58
int V1_7 = 0 << 16 | 51 ;
59
59
int V1_8 = 0 << 16 | 52 ;
60
60
int V9 = 0 << 16 | 53 ;
61
+ int V10 = 0 <<16 | 54 ;
61
62
62
63
// Access flags values, defined in
63
64
// - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1
You can’t perform that action at this time.
0 commit comments