Skip to content

Commit d67bea8

Browse files
repair issue #3678,#3680 (#3684)
* repair issue #3678,#3680 * repair issue #3678,#3680
1 parent 997957d commit d67bea8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

client-adapter/common/src/main/java/com/alibaba/otter/canal/client/adapter/support/URLClassExtensionLoader.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ public Class<?> loadClass(String name) throws ClassNotFoundException {
2121

2222
if (name.startsWith("java.") || name.startsWith("org.slf4j.") || name.startsWith("org.apache.logging")
2323
|| name.startsWith("org.apache.zookeeper.") || name.startsWith("org.I0Itec.zkclient.")
24-
|| name.startsWith("org.apache.commons.logging.")) {
24+
|| name.startsWith("org.apache.commons.logging.")
25+
|| name.startsWith("com.alibaba.druid")
26+
) {
2527
// || name.startsWith("org.apache.hadoop."))
2628
// {
2729
c = super.loadClass(name);

0 commit comments

Comments
 (0)