Prevent calling Object.getClass(), Runtime.getRuntim() and similar

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Prevent calling Object.getClass(), Runtime.getRuntim() and similar

egor.samarkhanov
Hi!

Is it possible to prevent calling Object.getClass(), Runtime.getRuntim() and other methods to block access to the java internals from templates, which might be dangerous?

Thanks,

Egor.