Chapter 15. Replacing and Patching Core Java Classes
“A path without obstacles probably leads nowhere.”
IN THIS CHAPTER
In Chapter 5, ”Replacing and Patching Application Classes,” we talked about the patching of Java classes to change or extend the underlying logic. The techniques presented in that chapter work for application and library classes loaded by the system or a custom class loader. However, attempting to apply the techniques to patch the core classes in a package whose name starts with
java yields no results because the original version of the class continues to be used. Chapter ...