do not fail on clinit decompile error
This commit is contained in:
@@ -42,7 +42,7 @@ public class SwitchHelper {
|
|||||||
DecompilerContext.getClassProcessor().getMapRootClasses().get(arrayField.getClassname());
|
DecompilerContext.getClassProcessor().getMapRootClasses().get(arrayField.getClassname());
|
||||||
if (classNode != null) {
|
if (classNode != null) {
|
||||||
MethodWrapper wrapper = classNode.getWrapper().getMethodWrapper(CodeConstants.CLINIT_NAME, "()V");
|
MethodWrapper wrapper = classNode.getWrapper().getMethodWrapper(CodeConstants.CLINIT_NAME, "()V");
|
||||||
if (wrapper != null) {
|
if (wrapper != null && wrapper.root != null) {
|
||||||
wrapper.getOrBuildGraph().iterateExprents(new DirectGraph.ExprentIterator() {
|
wrapper.getOrBuildGraph().iterateExprents(new DirectGraph.ExprentIterator() {
|
||||||
@Override
|
@Override
|
||||||
public int processExprent(Exprent exprent) {
|
public int processExprent(Exprent exprent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user