-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b10
-
linux_ubuntu
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8045093 | 8u25 | Hannes Wallnoefer | P3 | Resolved | Fixed | b01 |
JDK-8040164 | 8u20 | Hannes Wallnoefer | P3 | Resolved | Fixed | b11 |
JDK-8052493 | emb-8u26 | Hannes Wallnoefer | P3 | Resolved | Fixed | b18 |
FULL PRODUCT VERSION :
A DESCRIPTION OF THE PROBLEM :
The ToUint8Clamp implementation for Uint8ClampedArray instances does not correctly clamp input values to [0, 255].
Nashorn version: hg tip 18edd7a1b166
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jjs> ta = new Uint8ClampedArray(1), ta[0] = 4294967296, ta[0]
Expected: 255
Actual: 0
REPRODUCIBILITY :
This bug can be reproduced always.
A DESCRIPTION OF THE PROBLEM :
The ToUint8Clamp implementation for Uint8ClampedArray instances does not correctly clamp input values to [0, 255].
Nashorn version: hg tip 18edd7a1b166
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
jjs> ta = new Uint8ClampedArray(1), ta[0] = 4294967296, ta[0]
Expected: 255
Actual: 0
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
-
JDK-8040164 Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
-
- Resolved
-
-
JDK-8045093 Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
-
- Resolved
-
-
JDK-8052493 Nashorn: Uint8ClampedArray - Incorrect ToUint8Clamp implementation
-
- Resolved
-