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
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
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.
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