Juergen Hoeller 2015-08-27 22:03:36 +02:00
parent 803d7b50b9
commit 0c2b787cb5
1 changed files with 1 additions and 1 deletions

View File

@ -2032,7 +2032,7 @@ class MethodWriter extends MethodVisitor {
} }
int size = 8; int size = 8;
if (code.length > 0) { if (code.length > 0) {
if (code.length > 65536) { if (code.length > 65535) {
throw new RuntimeException("Method code too large!"); throw new RuntimeException("Method code too large!");
} }
cw.newUTF8("Code"); cw.newUTF8("Code");