On 23.02.24 10:02, Remi Forax wrote:
Hello,
sorry for the late answer.
don't worry. Better late than never
If you use an invoker like the MethodHandles.exactInvoker() instead of using
directly invokeExact() you will not have any stackframes from your vmPlugin. >
The idea is that is to have
Hi all,
if I have a Groovy program like this:
import java.lang.StackWalker
import static java.lang.StackWalker.Option.RETAIN_CLASS_REFERENCE
StackWalker walker = StackWalker.getInstance(RETAIN_CLASS_REFERENCE)
walker.walk (s->s.forEach(l -> println l))
which does bascially the same it does in