Will you please post full source of your JSObject? (just enough to reproduce issue you're talking about).

-Sundar

On Wednesday 05 November 2014 05:14 AM, Serguei Mourachov wrote:
It looks like some operations that are available for native Nashorn objects, are not implemented for JSObject. For example, following script works and prints '6': engine.eval("var obj={};var key={}; obj[key]=6;print(obj[key])"); In case when 'obj' is an implementation of JSObject, the script runs without any error, printing 'null'.

SM



Reply via email to