do not process vars if there were errors in the method
This commit is contained in:
@@ -158,6 +158,7 @@ public class ClassWrapper {
|
|||||||
|
|
||||||
methods.addWithKey(methodWrapper, InterpreterUtil.makeUniqueKey(mt.getName(), mt.getDescriptor()));
|
methods.addWithKey(methodWrapper, InterpreterUtil.makeUniqueKey(mt.getName(), mt.getDescriptor()));
|
||||||
|
|
||||||
|
if (!isError) {
|
||||||
// rename vars so that no one has the same name as a field
|
// rename vars so that no one has the same name as a field
|
||||||
varProc.refreshVarNames(new VarNamesCollector(setFieldNames));
|
varProc.refreshVarNames(new VarNamesCollector(setFieldNames));
|
||||||
|
|
||||||
@@ -185,6 +186,7 @@ public class ClassWrapper {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
DecompilerContext.getLogger().endMethod();
|
DecompilerContext.getLogger().endMethod();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user