Open Anemone95 opened 5 years ago
http://anemone.top/java-java%E5%8F%8D%E5%B0%84%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/
获取类对象动态加载一个类123URL[] urls = new URL[] {new URL("file:.\out\production\java_reflect")};URLClassLoader classLoader = new URLClassLoader(urls);Class clazz = classLoader.loadClass("test.refle
http://anemone.top/java-java%E5%8F%8D%E5%B0%84%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/
获取类对象动态加载一个类123URL[] urls = new URL[] {new URL("file:.\out\production\java_reflect")};URLClassLoader classLoader = new URLClassLoader(urls);Class clazz = classLoader.loadClass("test.refle