-
Bug
-
Resolution: Fixed
-
P4
-
8
-
None
-
b75
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136313 | emb-9 | Hannes Wallnoefer | P4 | Resolved | Fixed | team |
JDK-8140960 | 8u91 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
JDK-8132518 | 8u72 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
JDK-8147329 | emb-8u91 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
The following code currently does not delete global property "p". It prints "number" instead of "undefined".
p = 3;
function f() {
delete p;
var x; // force creation of scope
function b() { print(x); }
}
f();
print(typeof p);
p = 3;
function f() {
delete p;
var x; // force creation of scope
function b() { print(x); }
}
f();
print(typeof p);
- backported by
-
JDK-8132518 Delete fails over multiple scopes
- Resolved
-
JDK-8136313 Delete fails over multiple scopes
- Resolved
-
JDK-8140960 Delete fails over multiple scopes
- Resolved
-
JDK-8147329 Delete fails over multiple scopes
- Resolved