1.1 --- a/src/share/classes/com/sun/tools/classfile/Method.java Thu Jul 30 10:30:34 2009 +0100 1.2 +++ b/src/share/classes/com/sun/tools/classfile/Method.java Thu Jul 30 07:48:24 2009 -0700 1.3 @@ -50,6 +50,10 @@ 1.4 this.attributes = attributes; 1.5 } 1.6 1.7 + public int byteLength() { 1.8 + return 6 + attributes.byteLength(); 1.9 + } 1.10 + 1.11 public String getName(ConstantPool constant_pool) throws ConstantPoolException { 1.12 return constant_pool.getUTF8Value(name_index); 1.13 }