클래스를 URLClassLoader에서 일반 file.class로 저장할 수 있습니까? 그런 다음 디 컴파일합니까? 클래스를 URLClassLoader의 파일에 저장 하시겠습니까? 그것을 디 컴파일합니까?
난 그냥 작동하지 않습니다 Class<?> clazz = classLoader.loadClass("foo.Bar");
FileOutputStream sf = new FileOutputStream(f);
ObjectOutputStream s = new ObjectOutputStream(sf);
s.writeObject(clazz);
s.close();
니어를 사용하여 객체로 저장하려고.
그래서 ... 그것을 디 컴파일하는 방법? jd-gui 결과와 같은 것이 필요하지만 URLClassLoader의 클래스를 사용해야합니다.