fix get plugin AbsolutePath...

This commit is contained in:
502647092 2015-08-22 16:15:22 +08:00
parent f3ed5ff872
commit 755d49dc3b

View File

@ -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;
} }