自定义类加载器
如果要打破双亲委派模型,就继承ClassLoader类,重写loadclass方法;
如果不想打破双亲委派模型,就继承ClassLoader类,重写findclass方法。
ClassLoader类学习
最新推荐文章于 2022-11-22 11:26:04 发布
自定义类加载器
如果要打破双亲委派模型,就继承ClassLoader类,重写loadclass方法;
如果不想打破双亲委派模型,就继承ClassLoader类,重写findclass方法。