Commit 4431314d authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Revert bug fix.

parent f205b607
......@@ -1960,7 +1960,7 @@ final class MethodWriter extends MethodVisitor {
int size = 8;
// For ease of reference, we use here the same attribute order as in Section 4.7 of the JVMS.
if (code.length > 0) {
if (code.length > 65535) {
if (code.length > 65536) {
throw new IndexOutOfBoundsException("Method code too large!");
}
symbolTable.addConstantUtf8(Constants.CODE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment