RFR: 8168146 : Infinite recursion in Uint8ClampedArray.set

Emilian Bold emilian.bold at gmail.com
Wed Oct 19 10:24:32 UTC 2016


Not a committer but the patch was easy to understand, so +1 unbinding.

Seems to me this was bound to happen due to boxing and overloaded methods
and have int and Object arguments.






--emi

On Wed, Oct 19, 2016 at 12:41 PM, Hannes Wallnöfer <
hannes.wallnoefer at oracle.com> wrote:

> Please review:
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8168146
> Webrev: http://cr.openjdk.java.net/~hannesw/8168146/webrev/
>
> The (int) cast is all that’s needed to fix the bug. I also reviewed the
> setter for long values which isn’t used anymore.
>
> Thanks,
> Hannes


More information about the nashorn-dev mailing list