3 ms·
Private doesn't mean much. You can still access private members in Java using reflection.
by chomp 8y ago
Private doesn't mean much. You can still access private members in Java using reflection.
- kjeetgill 8y agoThis hole is incrementally being closed with the introduction of Java 9's modle system. You can only deep reflect into classes in your modules or those "open" to you. There are both declaritive and command line param ways to open things so it's not as rigid as it sounds.