On Sep 9, 2008, at 12:32 PM, Jochen Theodorou wrote: > I wonder how invokedynamic would behave here... does invokedynamic add > stack frames? if not, then there is a chance that Class.forName would > work again. If its adding stack frames, then I see no chance.
Invokedynamic does not visibly add stack frames for linked calls, but when a call is not linked it redirects to the bootstrap method, which therefore appears on the stack. What you want to fix that is an explicit (guaranteed) tailcall. -- John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---