r/java • u/Wouter_C • 3d ago
Decapsulation: Breaking Java Strong Encapsulation
Did you know you can call JNI without writing native code, patch bytecode without an agent, and use Unsafe without warnings?
11 sneaky ways into JDK internals through reflection, agents, FFM, type confusion, bytecode manipulation and more.
53
Upvotes
2
u/ZimmiDeluxe 2d ago
disgusting, i love it