Fix #335
Some checks failed
Build and Test with Maven / Build-and-test-with-Maven (push) Failing after 6m34s
Some checks failed
Build and Test with Maven / Build-and-test-with-Maven (push) Failing after 6m34s
This commit is contained in:
parent
295bf079b9
commit
b824680508
@ -24,7 +24,7 @@ public class DirectoryClassLoader extends URLClassLoader implements IByteArrayCl
|
||||
}
|
||||
|
||||
private static URL dirToURL(File url){
|
||||
if(!url.isDirectory())throw new RuntimeException(url.toString() + " is not a directory");
|
||||
//if(!url.isDirectory())throw new RuntimeException(url.toString() + " is not a directory");
|
||||
try {
|
||||
return url.toURI().toURL();
|
||||
} catch (MalformedURLException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user