Use the correct string for the local signature

This commit is contained in:
Ben Gruver 2012-12-28 20:57:24 -08:00
parent 710ef75b81
commit 1e325b6134

View File

@ -226,7 +226,7 @@ public class DebugInfoPool {
public void emitStartLocal(@Nonnull StartLocal startLocal) throws IOException {
int nameIndex = dexFile.stringPool.getIndexNullable(startLocal.getName());
int typeIndex = dexFile.typePool.getIndexNullable(startLocal.getType());
int signatureIndex = dexFile.stringPool.getIndexNullable(startLocal.getName());
int signatureIndex = dexFile.stringPool.getIndexNullable(startLocal.getSignature());
emitAdvancePC(startLocal.getCodeAddress());
if (signatureIndex == -1) {
writer.write(3);