RFR 8134731: `Function.prototype.apply` interacts incorrectly with `arguments`

Attila Szegedi attila.szegedi at oracle.com
Tue Sep 1 08:21:43 UTC 2015


It can’t regress on raytrace, since raytrace uses:

    return function() {
      this.initialize.apply(this, arguments);
    }

that is, the function containing the transform declares no arguments.

Attila.

> On Sep 1, 2015, at 9:15 AM, Marcus Lagergren <lagergren at gmail.com> wrote:
> 
> +1. Any regression on raytrace, though?
> 
> /M
> 
>> On 31 Aug 2015, at 13:35, Sundararajan Athijegannathan <sundararajan.athijegannathan at oracle.com> wrote:
>> 
>> Please review http://cr.openjdk.java.net/~sundar/8134731/ for https://bugs.openjdk.java.net/browse/JDK-8134731
>> 
>> Thanks
>> -Sundar
> 



More information about the nashorn-dev mailing list