From 76039532a57aa9a9fa72a501888d95589293a3a6 Mon Sep 17 00:00:00 2001 From: Milk <1871357815@qq.com> Date: Thu, 24 Mar 2022 17:03:20 +0800 Subject: [PATCH] Fix https://github.com/CodingGay/BlackObfuscator-ASPlugin/issues/12 --- .../main/java/top/niunaijun/blackobfuscator/core/ObfDex.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/src/main/java/top/niunaijun/blackobfuscator/core/ObfDex.java b/plugin/src/main/java/top/niunaijun/blackobfuscator/core/ObfDex.java index a2d5761..e33e521 100644 --- a/plugin/src/main/java/top/niunaijun/blackobfuscator/core/ObfDex.java +++ b/plugin/src/main/java/top/niunaijun/blackobfuscator/core/ObfDex.java @@ -69,7 +69,8 @@ private static void handleDex(File input, int depth, String[] obfClass, String[] TrieTree blackListTree = new TrieTree(); blackListTree.addAll(blackClassList); - for (String aClass : blackClassList) { + List tmpBlackClass = new ArrayList<>(blackClassList); + for (String aClass : tmpBlackClass) { if (blackListTree.search(aClass)) { String orig = mapping.get(aClass); if (orig != null) {