public static URL[] getClassPaths(ClassLoader classLoader) {
		if (classLoader instanceof URLClassLoader) {
			return ((URLClassLoader) classLoader).getURLs();
		}
		return Stream
			.of(ManagementFactory.getRuntimeMXBean().getClassPath().split(File.pathSeparator))
			.map(AbstractGrinderClassPathProcessor::toURL)
			.toArray(URL[]::new);
	}
Construct the patch classPath from current classLoader.

@param logger logger
@return classpath optimized for grinder.
ngrinder-core/src/main/java/net/grinder/util/AbstractGrinderClassPathProcessor.java