better to skip classes in javax/crypto package

This commit is contained in:
金戟 2021-04-21 16:32:00 +08:00
parent d463f863db
commit e948e625ea

View File

@ -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 * 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(); public MockClassParser mockClassParser = new MockClassParser();