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. Thanks, Hannes