On Fri, Feb 17, 2012 at 4:05 AM, Rémi Forax <[email protected]> wrote:
>> You could also interpose on abnormal termination (exceptions), using
>> guardWithCatch.
>
> The try-finallly method handle combiner is one example of the cookbook:
> http://code.google.com/p/jsr292-cookbook/source/browse/trunk/interceptors/src/jsr292/cookbook/interceptors/Interceptors.java#68
So painful! :)
handle = Binder
.from(target.type())
.tryFinally(handler)
.invoke(target);
- Charlie
_______________________________________________
mlvm-dev mailing list
[email protected]
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev