Chapter 15. Replacing and Patching Core Java Classes

 

“A path without obstacles probably leads nowhere.”

 
 --Defalque

Why Bother?

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 ...

Get Covert Java™: Techniques for Decompiling, Patching, and Reverse Engineering now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.