Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangyitao committed Feb 17, 2021
1 parent 1749ff7 commit de95c2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public class AgentClassLoader extends URLClassLoader {

public AgentClassLoader() {
super(new URL[0], ClassLoader.getSystemClassLoader());
super(new URL[0], Thread.currentThread().getContextClassLoader());
}

public void addJar(File jar) {
Expand Down

0 comments on commit de95c2c

Please sign in to comment.