摘要: 疑惑 以前在看源码的时候,总是会遇到框架里的代码使用Thread.currentThread.getContextClassLoader()获取当前线程的Context类加载器,通过这个Context类加载器去加载类。 我们平时在程序中写代码的时候,遇到要动态加载类的时候,一般使用Class.for 阅读全文
posted @ 2018-06-10 20:35 Duke2016 阅读(2580) 评论(0) 推荐(2) 编辑