I uploaded a new webrev that overrides addBoundProperties(ScriptObject, Properties[]) in WithObject instead of adding code to ScriptRuntime.mergeScopes. This is a bit more elegant than the previous solution.

http://cr.openjdk.java.net/~hannesw/8098546/webrev.01/

Hannes


Am 2015-06-15 um 14:50 schrieb Hannes Wallnoefer:
Please review JDK-8098546: eval within a 'with' leaks definitions into global scope:

http://cr.openjdk.java.net/~hannesw/8098546/

Thanks,
Hannes

Reply via email to