Juergen Hoeller 11 years ago
parent
commit
0c2b787cb5
  1. 2
      spring-core/src/main/java/org/springframework/asm/MethodWriter.java

2
spring-core/src/main/java/org/springframework/asm/MethodWriter.java

@ -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");

Loading…
Cancel
Save