< prev index next >

jdk/src/java.base/share/classes/jdk/internal/org/objectweb/asm/ClassReader.java

Print this page

        

@@ -193,11 +193,11 @@
      *            the length of the class data.
      */
     public ClassReader(final byte[] b, final int off, final int len) {
         this.b = b;
         // checks the class version
-        if (readShort(off + 6) > Opcodes.V1_9) {
+        if (readShort(off + 6) > Opcodes.V_MAX) {
             throw new IllegalArgumentException();
         }
         // parses the constant pool
         items = new int[readUnsignedShort(off + 8)];
         int n = items.length;
< prev index next >