Skip to content

Commit

Permalink
Fixed #244, bug on "MethodParameters" attribute parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanue1 committed Jun 1, 2019
1 parent 9126717 commit 045c7dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ protected LineNumber[] loadLineNumbers(ClassFileReader reader) {
}

protected MethodParameter[] loadParameters(ClassFileReader reader, ConstantPool constants) {
int count = reader.readUnsignedShort();
int count = reader.readUnsignedByte();
if (count == 0)
return null;

Expand Down

0 comments on commit 045c7dd

Please sign in to comment.