Re: [SOC][jvm-l] avoiding indy code in stack trace

2024-02-23 Thread 'Jochen Theodorou' via JVM Languages
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

[jvm-l] avoiding indy code in stack trace

2024-02-05 Thread 'Jochen Theodorou' via JVM Languages
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