RFR 8053910: ScriptObjectMirror causing havoc with Invocation interface

A. Sundararajan sundararajan.athijegannathan at oracle.com
Wed Aug 6 15:09:24 UTC 2014


Please ignore my earlier webrev. I've updated in place. Only limited 
issue of getInterface input param unwrap and wrapping of interface 
method result addressed against this bug.

We'd like to revisit ScriptObjectMirror for any Object type param of any 
java method later..

Thanks
-Sundar

On Wednesday 06 August 2014 04:38 PM, A. Sundararajan wrote:
> Please review http://cr.openjdk.java.net/~sundar/8053910/
>
> ScriptObjectMirror, wrap/unwrap has caused pain. Uniformly wrapping 
> all ScriptObject instances to be ScriptObjectMirror whenever Java 
> boundary is crossed. Hopefully, it'll be easier to understand and code 
> around ScriptObjectMirrors in Java side.
>
> Thanks
> -Sundar



More information about the nashorn-dev mailing list