Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b82
-
generic
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142279 | emb-9 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | team |
JDK-8140981 | 8u91 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8136376 | 8u72 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
JDK-8147350 | emb-8u91 | Sundararajan Athijegannathan | P3 | Resolved | Fixed | b01 |
Description
ScriptFunction constructor checks 'arguments' and 'caller' property by findProperty set to user accessor ('poison' functions that throws TypeError). This is done for bound and strict functions only and so the constructor code should those checks.
Attachments
Issue Links
- backported by
-
JDK-8136376 ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
- Resolved
-
JDK-8140981 ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
- Resolved
-
JDK-8142279 ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
- Resolved
-
JDK-8147350 ScriptFunction constructor should use is bound and is strict check rather than checking for 'arguments' and 'caller'
- Resolved