From JS to Java objects?

A. Sundararajan sundararajan.athijegannathan at oracle.com
Tue Oct 8 05:47:37 PDT 2013


It is recommended that you please stick to jsr223 API on nashorn and use 
jdk.nashorn.api.scripting.* classes (which provide missing stuff in 
jsr223). Anything in jdk.internal and jdk.nashorn.internal is ... really 
internal implementation detail.

Thanks
-Sundar

On Tuesday 08 October 2013 02:41 PM, Tal Liron wrote:
> How? It doesn't seem to support the java.util interfaces, whereas 
> ListAdapter does.
>
> Also, it seems that the only implementation of JSObject is 
> ScriptObjectMirror, which is specific to the JSR-223.
>
> On 10/08/2013 08:38 PM, Jim Laskey (Oracle) wrote:
>> You really shouldn't be using internal classes.  We can and will be 
>> changing them over time.  Use JSObject instead.
>>
>



More information about the nashorn-dev mailing list