docs: private GroovyClassLoader initGroovyLoader() {
          GroovyClassLoader groovyClassLoader =
                  AccessController.doPrivileged(new PrivilegedAction<ScriptClassLoader>() {
                      public ScriptClassLoader run() {
                          if (parentLoader instanceof GroovyClassLoader) {
                              return new ScriptClassLoader((GroovyClassLoader) parentLoader);
                          } else {
                              return new ScriptClassLoader(parentLoader, config);
                          }
                      }
                  });
          for (URL root : roots) groovyClassLoader.addURL(root);
          return groovyClassLoader;
      }