Re: How to making Class.forName work in indy?

2012-07-12 Thread Christian Thalinger
On Jul 10, 2012, at 1:57 PM, Jochen Theodorou wrote: > Am 10.07.2012 22:56, schrieb Rémi Forax: > [...] >> Class.forName(name) is equivalent to Class.forName(name, true, >> lookup.lookupClass().getClassLoader()) >> As true and lookup.lookupClass().getClassLoader() are constant in the BSM, >> you

Re: How to making Class.forName work in indy?

2012-07-10 Thread Jochen Theodorou
Am 10.07.2012 22:56, schrieb Rémi Forax: [...] > Class.forName(name) is equivalent to Class.forName(name, true, > lookup.lookupClass().getClassLoader()) > As true and lookup.lookupClass().getClassLoader() are constant in the BSM, > you can bound them using insertArguments. also an interesting idea

Re: How to making Class.forName work in indy?

2012-07-10 Thread Rémi Forax
On 07/10/2012 10:07 PM, Jochen Theodorou wrote: > Hi all, > > assuming you have to compile code with indy that realizes this: > > Class.forName(x) > > Meaning, we want to execute forName from Class using invokedynamic. If > you then have frames in your trace looking like this: > >> java.lang.Class.

How to making Class.forName work in indy?

2012-07-10 Thread Jochen Theodorou
Hi all, assuming you have to compile code with indy that realizes this: Class.forName(x) Meaning, we want to execute forName from Class using invokedynamic. If you then have frames in your trace looking like this: > java.lang.Class.forName0(Native Method) > java.lang.Class.forName(Class.java:1