From 74436bdd2f8269d6a94a2be33be7ef53e782b5ea Mon Sep 17 00:00:00 2001 From: Ben Gruver Date: Sun, 12 May 2013 20:55:10 -0700 Subject: [PATCH] Fix issues with initialization of bootClassPath and inlineResolver --- baksmali/src/main/java/org/jf/baksmali/main.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/baksmali/src/main/java/org/jf/baksmali/main.java b/baksmali/src/main/java/org/jf/baksmali/main.java index 8bcb693a..7418f143 100644 --- a/baksmali/src/main/java/org/jf/baksmali/main.java +++ b/baksmali/src/main/java/org/jf/baksmali/main.java @@ -32,6 +32,7 @@ import com.google.common.collect.Lists; import org.apache.commons.cli.*; import org.jf.dexlib2.DexFileFactory; import org.jf.dexlib2.analysis.CustomInlineMethodResolver; +import org.jf.dexlib2.analysis.InlineMethodResolver; import org.jf.dexlib2.dexbacked.DexBackedDexFile; import org.jf.dexlib2.dexbacked.DexBackedOdexFile; import org.jf.util.ConsoleUtil; @@ -99,9 +100,9 @@ public class main { boolean disassemble = true; boolean doDump = false; String dumpFileName = null; + boolean setBootClassPath = false; String[] remainingArgs = commandLine.getArgs(); - Option[] clOptions = commandLine.getOptions(); for (int i=0; i