mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
!593 fix issues/I51MEM 新增自定义ClassLoader构造器
Merge pull request !593 from 阿超/v5-dev
This commit is contained in:
commit
7fad0adc6a
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user