Skip to content

Commit 82e1a74

Browse files
authored
Merge pull request #570 from Nizernizer/beta
fix: transform class rules.
2 parents d578559 + 85077fd commit 82e1a74

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

dongtai-core/src/main/java/io/dongtai/iast/core/bytecode/IastClassFileTransformer.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,7 @@ public byte[] transform(final ClassLoader loader,
120120
final ProtectionDomain protectionDomain,
121121
final byte[] srcByteCodeArray) {
122122
String threadName = Thread.currentThread().getName();
123-
if (threadName.startsWith("DongTai-IAST-Core")
124-
|| threadName.startsWith("DongTai-IAST-AgentStateMonitor")
125-
|| threadName.startsWith("DongTai-IAST-ConfigMonitor")
126-
|| threadName.startsWith("DongTai-IAST-FallbackConfigMonitor")
127-
|| threadName.startsWith("DongTai-IAST-HearBeatMonitor")
128-
|| threadName.startsWith("DongTai-IAST-PerformanceMonitor")) {
123+
if (threadName.startsWith("DongTai-IAST-Core")) {
129124
return null;
130125
}
131126

0 commit comments

Comments
 (0)