--- a/langtools/src/share/classes/com/sun/tools/classfile/ClassWriter.java Wed Aug 05 08:38:18 2009 -0700
+++ b/langtools/src/share/classes/com/sun/tools/classfile/ClassWriter.java Thu Aug 06 19:35:41 2009 -0700
@@ -435,7 +435,7 @@
}
public Void visitLocalVariableTypeTable(LocalVariableTypeTable_attribute attr, ClassOutputStream out) {
- out.writeByte(attr.local_variable_table.length);
+ out.writeShort(attr.local_variable_table.length);
for (LocalVariableTypeTable_attribute.Entry e: attr.local_variable_table)
writeLocalVariableTypeTableEntry(e, out);
return null;