!593 fix issues/I51MEM 新增自定义ClassLoader构造器

Merge pull request !593 from 阿超/v5-dev
This commit is contained in:
Looly 2022-04-08 07:35:34 +00:00 committed by Gitee
commit 7fad0adc6a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -96,6 +96,16 @@ public class JarClassLoader extends URLClassLoader {
public JarClassLoader(URL[] urls) {
super(urls, ClassUtil.getClassLoader());
}
/**
* 构造
*
* @param urls 被加载的URL
* @param classLoader 类加载器
*/
public JarClassLoader(URL[] urls, ClassLoader classLoader) {
super(urls, classLoader);
}
// ------------------------------------------------------------------- Constructor end
/**