equal
deleted
inserted
replaced
183 * the length of the class data. |
183 * the length of the class data. |
184 */ |
184 */ |
185 public ClassReader(final byte[] b, final int off, final int len) { |
185 public ClassReader(final byte[] b, final int off, final int len) { |
186 this.b = b; |
186 this.b = b; |
187 // checks the class version |
187 // checks the class version |
188 if (readShort(off + 6) > Opcodes.V9) { |
188 if (readShort(off + 6) > Opcodes.V10) { |
189 throw new IllegalArgumentException(); |
189 throw new IllegalArgumentException(); |
190 } |
190 } |
191 // parses the constant pool |
191 // parses the constant pool |
192 items = new int[readUnsignedShort(off + 8)]; |
192 items = new int[readUnsignedShort(off + 8)]; |
193 int n = items.length; |
193 int n = items.length; |