+ 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 Answers
+ 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