From e948e625ea2d9c1daa428bccba543d88f8fb2e0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E6=88=9F?= Date: Wed, 21 Apr 2021 16:32:00 +0800 Subject: [PATCH] better to skip classes in javax/crypto package --- .../testable/agent/transformer/TestableClassTransformer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testable-agent/src/main/java/com/alibaba/testable/agent/transformer/TestableClassTransformer.java b/testable-agent/src/main/java/com/alibaba/testable/agent/transformer/TestableClassTransformer.java index 8ef08a9..697ffb3 100644 --- a/testable-agent/src/main/java/com/alibaba/testable/agent/transformer/TestableClassTransformer.java +++ b/testable-agent/src/main/java/com/alibaba/testable/agent/transformer/TestableClassTransformer.java @@ -38,7 +38,7 @@ public class TestableClassTransformer implements ClassFileTransformer { /** * Just avoid spend time to scan those surely non-user classes, should keep these lists as tiny as possible */ - private final String[] BLACKLIST_PREFIXES = new String[] { "sun/", "com/sun/", "org/gradle/" }; + private final String[] BLACKLIST_PREFIXES = new String[] { "sun/", "com/sun/", "javax/crypto", "org/gradle/" }; public MockClassParser mockClassParser = new MockClassParser();