RFR: 8172006: Nashorn JavaScript engine fails to call @FunctionalInterface with a java.util.List argument

Hannes Wallnöfer hannes.wallnoefer at oracle.com
Wed Jan 25 16:05:16 UTC 2017

Please review:

Bug: https://bugs.openjdk.java.net/browse/JDK-8172006
Webrev: http://cr.openjdk.java.net/~hannesw/8172006/webrev.00/

The final invocation of linkerServices.filterInternalObjects was redundant, and in fact caused the argument to be converted to ScripObjectMirror when the actual target type was java.util.List. As far as I can tell, linkerServices.filterInternalObjects is called elsewhere for all types of invocations. Existing tests pass, and I added a few more.


More information about the nashorn-dev mailing list