fix: handle move-result after invoke-custom with string concat

This commit is contained in:
Skylot
2021-12-11 15:28:17 +00:00
parent 2d6f819c86
commit 0f00fb9a27
4 changed files with 28 additions and 3 deletions
@@ -158,9 +158,13 @@ public class JavaConvertLoader {
try {
DxConverter.run(path, tempDirectory);
} catch (Exception e) {
} catch (Throwable e) {
LOG.warn("DX convert failed, trying D8, path: {}", path);
D8Converter.run(path, tempDirectory);
try {
D8Converter.run(path, tempDirectory);
} catch (Throwable ex) {
LOG.error("D8 convert failed: {}", ex.getMessage());
}
}
LOG.debug("Converted to dex: {}", path.toAbsolutePath());