mardi 20 février 2018

Do we have to safe guard Scala Object (Singleton Instances) against Reflection attacks like we have to do in Java?

Is it possible to create a new instance of a Object Class in Scala using both Scala and Java reflection API?

If yes, then what should be the practice that one should follow to safe guard against this.

If no, then a brief insight about how Scala stop this attack would be very helpful.

Thanks in advance.

I'm a Java developer, currently learning Scala.





Aucun commentaire:

Enregistrer un commentaire