If you want to change several classes, you only need to compile these classes. You do not need to compile the entire JDK unless you intend to replace it.
If you just want to fix it, create a JAR of your changed classes and add this to the load class path.
Peter Lawrey
source share