do not process vars if there were errors in the method

master
Egor.Ushakov 8 years ago
parent 7041accfe9
commit 0b442fc64b
  1. 2
      src/org/jetbrains/java/decompiler/main/rels/ClassWrapper.java

@ -158,6 +158,7 @@ public class ClassWrapper {
methods.addWithKey(methodWrapper, InterpreterUtil.makeUniqueKey(mt.getName(), mt.getDescriptor()));
if (!isError) {
// rename vars so that no one has the same name as a field
varProc.refreshVarNames(new VarNamesCollector(setFieldNames));
@ -185,6 +186,7 @@ public class ClassWrapper {
});
}
}
}
DecompilerContext.getLogger().endMethod();
}

Loading…
Cancel
Save