How to protect nashorn global?

Dima Golubets dgolubets at
Sun May 10 15:37:09 UTC 2015

Hi everyone!

Is there a way to protect "" from writes?
I want to redirect all global variable declarations to my custom binding.
But I also need to keep the same global.

More information about the nashorn-dev mailing list