mirror of https://e.coding.net/circlecloud/Yum.git
fix get plugin AbsolutePath...
parent
f3ed5ff872
commit
755d49dc3b
|
@ -105,7 +105,7 @@ public class PluginsManager {
|
||||||
@SuppressWarnings("resource")
|
@SuppressWarnings("resource")
|
||||||
URLClassLoader ucl = (URLClassLoader) cl;
|
URLClassLoader ucl = (URLClassLoader) cl;
|
||||||
URL url = ucl.getURLs()[0];
|
URL url = ucl.getURLs()[0];
|
||||||
file = new File(url.getPath(), url.getFile());
|
file = new File(url.getFile());
|
||||||
}
|
}
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue