diff --git a/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java b/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java index 9793d69f5..e898aab29 100755 --- a/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java +++ b/dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java @@ -31,7 +31,6 @@ import java.security.ProtectionDomain; import java.util.*; import java.util.concurrent.ConcurrentHashMap; -import java.util.concurrent.ConcurrentSkipListSet; import static org.apache.commons.io.FileUtils.writeByteArrayToFile; import static org.objectweb.asm.ClassWriter.COMPUTE_FRAMES; @@ -165,7 +164,7 @@ public byte[] transform(final ClassLoader loader, ScaScanner.scanForSCA(location.getFile(), internalClassName); } } - + //判断是否可以hook ,true可以 false不可以 if (null == classBeingRedefined && !configMatcher.canHook(internalClassName, this.policyManager)) { return null; } diff --git a/pom.xml b/pom.xml index 8491cfbb3..1f013c243 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - 1.14.0 + 1.14.1 UTF-8 io.dongtai.iast.thirdparty