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

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Tue Sep 1 08:57:48 UTC 2015


Yes. And I manually inspected generated bytecode to make sure 
no-declared-param function case is handled by apply2call opt.

-Sundar

On 9/1/2015 1:51 PM, Attila Szegedi wrote:
> 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