InstrumentationClassFinder (URL @Nullable [] platformUrls, @NotNull final String classPath) { final ArrayList<URL> urls = new ArrayList<>(); for (StringTokenizer tokenizer = new StringTokenizer(classPath, File.pathSeparator); tokenizer.hasMoreTokens();) { final String s = tokenizer.nextToken(); try { urls.add(new File(s).toURI().toURL()); } catch (Exception exc) { throw new RuntimeException(exc); } } URL[] zero = new URL[0]; return new InstrumentationClassFinder(platformUrls == null ? zero : platformUrls, urls.toArray(zero)); }