From 0eacb5ae5ef964f5cf65954965f6cd74c03f4054 Mon Sep 17 00:00:00 2001 From: rinoux Date: Fri, 6 May 2022 12:11:56 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-70827=20&=20REPORT-70810=20=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E6=80=A7=E9=97=AE=E9=A2=982?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/fr/third/alibaba/druid/util/Utils.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fine-druid/src/main/java/com/fr/third/alibaba/druid/util/Utils.java b/fine-druid/src/main/java/com/fr/third/alibaba/druid/util/Utils.java index 0cc74ab2d..abd5981b6 100644 --- a/fine-druid/src/main/java/com/fr/third/alibaba/druid/util/Utils.java +++ b/fine-druid/src/main/java/com/fr/third/alibaba/druid/util/Utils.java @@ -252,6 +252,12 @@ public class Utils { // skip } + try { + return ClassLoaderFactory.loadClass(className); + } catch (ClassNotFoundException e) { + // + } + return null; }