Re: ASM4 (follow-up)

Rémi Forax <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
On 01/02/2011 11:19 PM, Rémi Forax wrote:
> Hi all,
> I have rapidly prototyped a new version of ASM4,
> the code is available in a new branch called ASM_4_FUTURE_2.
>
> For those that using the old branch ASM_4_FUTURE,
> we have decided to revert to an API more compatible with ASM3
> by introducing two new classes MType and MHandle that mirrors
> java.dyn.MethodType and java.dyn.MethodHandle.
> These two classes can be used as argument of visitLdcInsn.
>
> This code also introduces an experimental support of
> the new format of invokedynamic with bootstrap method arguments.
> Currently, the code generates classes that crashes the VM.
> I'm not sure why ?

Found why there was a crash. It's was not related to the new API.
I was generating a class file without maxstack/maxlocals info.

So the code seems to work :)

>
> Eric, Eugene, could you take a look to the code,
> ClassWriter.newIndyItem() is a little bit funky ?
>
> Rémi

Rémi
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.