+ 3
How to make private fields really safe?
The code shows a small example how to get access to a private field. I am wondering if it would be possible to avoid getting access via reflection. https://code.sololearn.com/cp86NFcGpqUe/?ref=app
3 Respostas
+ 3
Denise Roßberg , maybe this question form stackoverflow.com can help: https://stackoverflow.com/questions/29246028/how-to-prevent-access-via-reflection
+ 2
TheWh¡teCat 🇧🇬
Thank you very much. I did not know that Java has a class SecurityManager.
I will try it out.
0
get OneNote