A ConsString Gotcha

Tal Liron tal.liron at threecrickets.com
Sun Oct 13 09:57:35 PDT 2013


Rhino also has ConsString, but doesn't exhibit this problem -- how is 
handled there?

On 10/14/2013 12:55 AM, Attila Szegedi wrote:
> It's not really easy to do consistently, for subtle reasons having to 
> do with not imposing conversions on method invocation parameters to 
> which a JLS method invocation conversion applies; trivially, 
> anything-to-Object always applies. Introducing an argument filter on 
> every parameter of declared type Object is prohibitive with regard to 
> performance.
>
> Attila.



More information about the nashorn-dev mailing list