Bug? script context doesn't revert if changed during eval

A. Sundararajan sundararajan.athijegannathan at oracle.com
Tue May 19 11:58:10 UTC 2015

Will you please post simple test program demonstrating the problem 
you're facing?


Dima Golubets wrote:
> Hi!
> I call engine.eval, which calls some Java code which in turn calls eval
> again, but with another script context. However this new script context
> gets up the call stack somehow and the rest of the javascript code
> continues to execute with variables defined in that another context.
> Is it a bug, or eval inside eval is not supported?

More information about the nashorn-dev mailing list