From b74fffa669fecf9d6ccfc1df82df62d4fb7769be Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 21 Apr 2021 22:52:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=9D=E8=AF=95=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=89=A7=E8=A1=8C=E6=97=B6=E7=B1=BB=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/org/apache/jmeter/NewDriver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/org/apache/jmeter/NewDriver.java b/backend/src/main/java/org/apache/jmeter/NewDriver.java index b834a9b9d6..c1c3046a9e 100644 --- a/backend/src/main/java/org/apache/jmeter/NewDriver.java +++ b/backend/src/main/java/org/apache/jmeter/NewDriver.java @@ -127,7 +127,7 @@ public final class NewDriver { System.setProperty(JAVA_CLASS_PATH, initiaClasspath + classpath.toString()); loader = AccessController.doPrivileged( (PrivilegedAction) () -> - new DynamicClassLoader(jars.toArray(new URL[jars.size()])) + new DynamicClassLoader(jars.toArray(new URL[jars.size()]), Thread.currentThread().getContextClassLoader()) ); }