Skip to content

Commit

Permalink
URGENT Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Rasquier committed Dec 15, 2017
1 parent 9326122 commit 3632f11
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion asm/classreader.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,12 @@ func (c ClassReader) AcceptB(classVisitor ClassVisitor, attributePrototypes []*A
currentClassesOffset := innerClassesOffset + 2
for numberOfClasses > 0 {
numberOfClasses--
classVisitor.VisitInnerClass(c.readClass(currentClassesOffset, charBuffer), c.readClass(currentAttributeOffset+2, charBuffer), c.readClass(currentClassesOffset+4, charBuffer), c.readUnsignedShort(currentClassesOffset+6))
classVisitor.VisitInnerClass(
c.readClass(currentClassesOffset, charBuffer),
c.readClass(currentClassesOffset+2, charBuffer),
c.readUTF8(currentClassesOffset+4, charBuffer),
c.readUnsignedShort(currentClassesOffset+6),
)
currentClassesOffset += 8
}
}
Expand Down

0 comments on commit 3632f11

Please sign in to comment.