I have come across Reflection API recently. I know the For what Reflection API is used and Advantages and Disadvantages.
Using Reflection API we are able to access the private members of a class. These members were made private in first place so that it can not be accessed from outside. My questions are,
- Does this breaks the Java security feature ?
- Does using Reflection API makes our code vulnerable ?
Aucun commentaire:
Enregistrer un commentaire