From 7181b492113de78082106083a941442d1a42df49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=91=E6=88=9F?= Date: Fri, 14 May 2021 21:24:34 +0800 Subject: [PATCH] package prefix should end with a slash --- .../testable/agent/transformer/TestableClassTransformer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 389a01e..9f495b0 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,8 +38,8 @@ 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/", "javax/crypto", "java/util/logging", - "org/gradle/", "org/robolectric/" }; + private final String[] BLACKLIST_PREFIXES = new String[] { "sun/", "com/sun/", "javax/crypto/", + "java/util/logging/", "org/gradle/", "org/robolectric/" }; public MockClassParser mockClassParser = new MockClassParser();