File tree 3 files changed +3
-2
lines changed
spring-core/src/main/java/org/springframework/asm
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ public ClassReader(
195
195
this .b = classFileBuffer ;
196
196
// Check the class' major_version. This field is after the magic and minor_version fields, which
197
197
// use 4 and 2 bytes respectively.
198
- if (checkClassVersion && readShort (classFileOffset + 6 ) > Opcodes .V24 ) {
198
+ if (checkClassVersion && readShort (classFileOffset + 6 ) > Opcodes .V25 ) {
199
199
throw new IllegalArgumentException (
200
200
"Unsupported class file major version " + readShort (classFileOffset + 6 ));
201
201
}
Original file line number Diff line number Diff line change @@ -594,7 +594,7 @@ public void visitTableSwitchInsn(
594
594
* Visits a LOOKUPSWITCH instruction.
595
595
*
596
596
* @param dflt beginning of the default handler block.
597
- * @param keys the values of the keys.
597
+ * @param keys the values of the keys. Keys must be sorted in increasing order.
598
598
* @param labels beginnings of the handler blocks. {@code labels[i]} is the beginning of the
599
599
* handler block for the {@code keys[i]} key.
600
600
*/
Original file line number Diff line number Diff line change @@ -289,6 +289,7 @@ public interface Opcodes {
289
289
int V22 = 0 << 16 | 66 ;
290
290
int V23 = 0 << 16 | 67 ;
291
291
int V24 = 0 << 16 | 68 ;
292
+ int V25 = 0 << 16 | 69 ;
292
293
293
294
/**
294
295
* Version flag indicating that the class is using 'preview' features.
You can’t perform that action at this time.
0 commit comments