-
Bug
-
Resolution: Fixed
-
P3
-
9
-
None
-
b70
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8098781 | emb-9 | Hannes Wallnoefer | P3 | Resolved | Fixed | team |
JDK-8131003 | 8u65 | Hannes Wallnoefer | P3 | Resolved | Fixed | b05 |
JDK-8098583 | 8u60 | Hannes Wallnoefer | P3 | Resolved | Fixed | b22 |
JDK-8138553 | emb-8u65 | Unassigned | P3 | Resolved | Fixed | b05 |
JDK-8130611 | emb-8u60 | Hannes Wallnoefer | P3 | Resolved | Fixed | b22 |
function func() {
var obj = { foo: 344 };
with (obj) {
eval("var x = foo + 3");
}
print(x);
}
func();
// should result in ReferenceError
print(x);
var obj = { foo: 344 };
with (obj) {
eval("var x = foo + 3");
}
print(x);
}
func();
// should result in ReferenceError
print(x);
- backported by
-
JDK-8098583 eval within a 'with' leaks definitions into global scope
-
- Resolved
-
-
JDK-8098781 eval within a 'with' leaks definitions into global scope
-
- Resolved
-
-
JDK-8130611 eval within a 'with' leaks definitions into global scope
-
- Resolved
-
-
JDK-8131003 eval within a 'with' leaks definitions into global scope
-
- Resolved
-
-
JDK-8138553 eval within a 'with' leaks definitions into global scope
-
- Resolved
-