Review request for JDK-8057691: Nashorn: let & const declarations are not shared between scripts

Attila Szegedi attila.szegedi at oracle.com
Fri Nov 21 16:25:44 UTC 2014


+1


On Nov 21, 2014, at 1:45 PM, Hannes Wallnoefer <hannes.wallnoefer at oracle.com> wrote:

> Please review JDK-8057691: Nashorn: let & const declarations are not shared between scripts:
> 
> http://cr.openjdk.java.net/~hannesw/8057691/
> 
> This implements global top-lexical scope as per the latest ES6 spec. When running with --language=es6 this will add a switchpoint to non-constant global scope properties that will be invalidated when a script adds global lexical bindings. I've tested with Octane and there are no performance regressions when running with --language=es6 compared to default settings.
> 
> Hannes



More information about the nashorn-dev mailing list