hg: jdk9/dev/nashorn: 8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined

sundararajan.athijegannathan at oracle.com sundararajan.athijegannathan at oracle.com
Mon Jun 23 15:54:26 UTC 2014


Changeset: 3edd4da9386f
Author:    sundar
Date:      2014-06-23 21:23 +0530
URL:       http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/3edd4da9386f

8047728: (function(x){var o={x:0}; with(o){delete x} return o.x})() evaluates to 0 instead of undefined
Reviewed-by: jlaskey, hannesw, attila

+ bin/jjsdebug.sh
! make/nbproject/ide-targets.xml
! src/jdk/nashorn/internal/codegen/AssignSymbols.java
! src/jdk/nashorn/internal/codegen/LocalVariableTypesCalculator.java
+ test/script/basic/JDK-8047728.js



More information about the jdk9-dev-changes mailing list