Am 21.03.2013 20:49, schrieb Remi Forax: [...] > I suppose you take a look to the instances. > You can do something similar actually by using invokedynamic + > a guardWithTest that checks already seen instances instead of doing a > plain mh.invoke* > I think Duncan and Georges do something like that in Magik.
the example is supposed to be Java code, so I cannot use invokedynamic directly. The goal was to avoid the user having to write try-catch all the time. Is then sam conversion the best way here to avoid the problem? bye blackdrag -- Jochen "blackdrag" Theodorou - Groovy Project Tech Lead blog: http://blackdragsview.blogspot.com/ german groovy discussion newsgroup: de.comp.lang.misc For Groovy programming sources visit http://groovy-lang.org _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev