Register JarUrlClassLoader as parallel capable
See gh-41665
This commit is contained in:
parent
cc88a1db97
commit
c808d44c11
|
|
@ -40,6 +40,10 @@ import org.springframework.boot.loader.launch.LaunchedClassLoader;
|
|||
*/
|
||||
public abstract class JarUrlClassLoader extends URLClassLoader {
|
||||
|
||||
static {
|
||||
ClassLoader.registerAsParallelCapable();
|
||||
}
|
||||
|
||||
private final URL[] urls;
|
||||
|
||||
private final boolean hasJarUrls;
|
||||
|
|
|
|||
Loading…
Reference in New Issue