RFR: 8166186: ClassCastException with arguments usage

Hannes Wallnöfer hannes.wallnoefer at oracle.com
Tue Jan 24 14:31:30 UTC 2017


Please review:

bug: https://bugs.openjdk.java.net/browse/JDK-8166186
webrev: http://cr.openjdk.java.net/~hannesw/8166186/webrev.00/

The problem was that guards for non-strict functions sometimes have a this-object parameter which also needs to be unpacked, inserted, or wrapped when called via Function.prototype.apply.

This also includes a patch for types contributed by Ahmed Ashour.

Thanks,
Hannes


More information about the nashorn-dev mailing list