mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
6858429: javap classfile library a minor bug
Reviewed-by: ksrini
This commit is contained in:
parent
9e26dc467b
commit
d78b7fcc9b
1 changed files with 1 additions and 1 deletions
|
@ -435,7 +435,7 @@ public class ClassWriter {
|
|||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue