Skip to content

Commit 7a79790

Browse files
dreis2211wilkinsona
authored andcommitted
Reinstate LaunchedURLClassLoader's registration as parallel capable
Closes gh-7334
1 parent adfc5d2 commit 7a79790

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/LaunchedURLClassLoader.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
*/
3838
public class LaunchedURLClassLoader extends URLClassLoader {
3939

40+
static {
41+
ClassLoader.registerAsParallelCapable();
42+
}
43+
4044
/**
4145
* Create a new {@link LaunchedURLClassLoader} instance.
4246
* @param urls the URLs from which to load classes and resources

0 commit comments

Comments
 (0)