File tree 1 file changed +2
-1
lines changed
core/src/main/java/hudson
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 26
26
import hudson .Launcher .ProcStarter ;
27
27
import hudson .model .TaskListener ;
28
28
import hudson .remoting .Channel ;
29
+ import hudson .util .ClassLoaderSanityThreadFactory ;
29
30
import hudson .util .DaemonThreadFactory ;
30
31
import hudson .util .ExceptionCatchingThreadFactory ;
31
32
import hudson .util .NamingThreadFactory ;
@@ -138,7 +139,7 @@ protected Proc() {}
138
139
@ CheckForNull
139
140
public abstract OutputStream getStdin ();
140
141
141
- private static final ExecutorService executor = Executors .newCachedThreadPool (new ExceptionCatchingThreadFactory (new NamingThreadFactory (new DaemonThreadFactory (), "Proc.executor" )));
142
+ private static final ExecutorService executor = Executors .newCachedThreadPool (new ExceptionCatchingThreadFactory (new NamingThreadFactory (new ClassLoaderSanityThreadFactory ( new DaemonThreadFactory () ), "Proc.executor" )));
142
143
143
144
/**
144
145
* Like {@link #join} but can be given a maximum time to wait.
You can’t perform that action at this time.
0 commit comments