cbuschka / beanshell2

Automatically exported from code.google.com/p/beanshell2
0 stars 0 forks source link

Enhancement .setFinal #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Today you can set objects in an embedded debugger using set(String, Object). 

But this objects can be mutated by a user script. How about a setFinal function 
settig an immutable object

Original issue reported on code.google.com by vorarlbe...@gmail.com on 8 Nov 2011 at 11:34

GoogleCodeExporter commented 8 years ago
You could call "Interpreter.setNameSpace(bsh.NameSpace)" with your own derived 
version of "bsh.NameSpace" with your changed logic.

Original comment by pejob...@gmail.com on 16 Nov 2011 at 9:30