-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b83
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142286 | emb-9 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | team |
JDK-8140993 | 8u91 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8136706 | 8u72 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8147362 | emb-8u91 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
function check() {
try { foo; return true } catch (e) { return false }
}
// This should alternate b/w false and true for all iterations
// but after 16 iterations, both prints print "true"
// => ReferenceError is not thrown in "check" method for "foo"
// access after "foo" access becomes megamorphic
for (var x = 0; x < 40; x++) {
delete this.foo;
print(check());
foo = 44;
print(check());
}
try { foo; return true } catch (e) { return false }
}
// This should alternate b/w false and true for all iterations
// but after 16 iterations, both prints print "true"
// => ReferenceError is not thrown in "check" method for "foo"
// access after "foo" access becomes megamorphic
for (var x = 0; x < 40; x++) {
delete this.foo;
print(check());
foo = 44;
print(check());
}
- backported by
-
JDK-8136706 Megemorphic scope access does not throw ReferenceError when property is missing
-
- Resolved
-
-
JDK-8140993 Megemorphic scope access does not throw ReferenceError when property is missing
-
- Resolved
-
-
JDK-8142286 Megemorphic scope access does not throw ReferenceError when property is missing
-
- Resolved
-
-
JDK-8147362 Megemorphic scope access does not throw ReferenceError when property is missing
-
- Resolved
-