changeset 372:3e38c6da72ec

Merge
author tbell
date Thu, 06 Aug 2009 20:24:08 -0700
parents b5ab848ba68f 160d7a994e69
children cba827f72977
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/classfile/ClassWriter.java	Thu Aug 06 19:03:42 2009 -0700
+++ b/src/share/classes/com/sun/tools/classfile/ClassWriter.java	Thu Aug 06 20:24:08 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;