Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 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