Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
b74fffa6
Commit
b74fffa6
authored
4 years ago
by
Captain.B
Committed by
刘瑞斌
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix: 尝试修复测试执行时类加载的问题
parent
7f4eb022
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
backend/src/main/java/org/apache/jmeter/NewDriver.java
+1
-1
backend/src/main/java/org/apache/jmeter/NewDriver.java
with
1 addition
and
1 deletion
+1
-1
backend/src/main/java/org/apache/jmeter/NewDriver.java
+
1
-
1
View file @
b74fffa6
...
...
@@ -127,7 +127,7 @@ public final class NewDriver {
System
.
setProperty
(
JAVA_CLASS_PATH
,
initiaClasspath
+
classpath
.
toString
());
loader
=
AccessController
.
doPrivileged
(
(
PrivilegedAction
<
DynamicClassLoader
>)
()
->
new
DynamicClassLoader
(
jars
.
toArray
(
new
URL
[
jars
.
size
()]))
new
DynamicClassLoader
(
jars
.
toArray
(
new
URL
[
jars
.
size
()])
,
Thread
.
currentThread
().
getContextClassLoader
()
)
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help