In article <[email protected]>, Charles Oliver Nutter <[email protected]> wrote:
> The exception-handling logic I'm not sure about. This seems to be a > possible gap in primitive method handles: an exception-handling method > handle that can wrap another handle with additional logic. I'm not sure > exactly how it would manifest itself in the API. This seems to be a big gap with Jython too. Pretty much all of Jython's lookup and dispatch logic could be done with composed method handles, but exception handling doesn't fit this pattern. The only thing I could think to do for now would be to put the exception logic at the call site, surrounding the invokedynamic; from some benchmarks I did a few months ago it doesn't seem like the overhead is that high. -- Nicholas Riley <[email protected]> _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
