nashorn/test/script/basic/JDK-8048071.js.EXPECTED
author sundar
Wed, 16 Dec 2015 16:42:03 +0530
changeset 34735 0f41d334aa24
parent 25242 ac1d21c4d61d
permissions -rw-r--r--
8145486: jjs should support documentation key shortcut in interactive mode Reviewed-by: mhaupt, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
25242
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     1
23
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     2
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     3
0
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     4
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     5
0
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     6
typeof x? undefined
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     7
local eval called: hello
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     8
[object global]
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
     9
with's eval called: hello
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
    10
this = [object Object]
ac1d21c4d61d 8048071: eval within 'with' statement does not use correct scope if with scope expression has a copy of eval
sundar
parents:
diff changeset
    11
this.foo = 42