Hi, How do I disable some or all of the nashorn extensions? I am especially interested in disabling the creation of attributes such as: exit, quit, load, etc.
I can confirm that this works:
jsContext = jsEngine.getContext()
scope = jsContext.getAttributesScope("exit")
jsContext.removeAttribute("exit", scope)
However, it would be nicer to disable their creation itself.
thanks,
HRJ
