mozilla/rhino — pull request #117 by stefanp (2013-04-23 01:58:30+00:00)
Title: Interface adapter: accept BoundFunction instances (in addition to NativeObject and NativeFunction

This fixes code that tries to pass a bound function to a java method that takes a Callable, as in, for example, executorService.submit(callback.bind(this, item));