-
Bug
-
Resolution: Fixed
-
P3
-
8u40
-
None
-
b40
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8085541 | emb-9 | Marcus Lagergren | P3 | Resolved | Fixed | team |
JDK-8065533 | 8u45 | Marcus Lagergren | P3 | Resolved | Fixed | b01 |
JDK-8064821 | 8u40 | Marcus Lagergren | P3 | Resolved | Fixed | b15 |
JDK-8070522 | emb-8u47 | Marcus Lagergren | P3 | Resolved | Fixed | team |
var x = 1;
for(var i = 2; i < 5; ++i) {
print(x);
Object.defineProperty(this, "x", {value: i });
}
print(x);
Expected result:
1
2
3
4
Observed result:
1
1
1
4
for(var i = 2; i < 5; ++i) {
print(x);
Object.defineProperty(this, "x", {value: i });
}
print(x);
Expected result:
1
2
3
4
Observed result:
1
1
1
4
- backported by
-
JDK-8064821 GlobalConstants produces wrong result with Object.defineProperty
-
- Resolved
-
-
JDK-8065533 GlobalConstants produces wrong result with Object.defineProperty
-
- Resolved
-
-
JDK-8070522 GlobalConstants produces wrong result with Object.defineProperty
-
- Resolved
-
-
JDK-8085541 GlobalConstants produces wrong result with Object.defineProperty
-
- Resolved
-
- blocks
-
JDK-8063100 Unnecessary invalidation of global constants in Context.setGlobal
-
- Open
-