Skip to content

Commit

Permalink
GROOVY-11478: Enable GroovyClassLoader to be ParallelCapable
Browse files Browse the repository at this point in the history
  • Loading branch information
paulk-asert authored and daniellansun committed Sep 18, 2024
1 parent 6312fec commit 92b9bf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/groovy/lang/GroovyClassLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,10 @@ public class GroovyClassLoader extends URLClassLoader {
private final String sourceEncoding;
private Boolean recompile;

static {
registerAsParallelCapable();
}

/**
* Creates a GroovyClassLoader using the current Thread's context ClassLoader as parent.
*/
Expand Down

0 comments on commit 92b9bf4

Please # to comment.