Native Nashorn Object vs JSObject

A. Sundararajan sundararajan.athijegannathan at oracle.com
Thu Nov 6 16:22:29 UTC 2014


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
>
>



More information about the nashorn-dev mailing list