bad class file crash the VM

Rémi Forax forax at univ-mlv.fr
Mon Jan 3 02:18:11 PST 2011


On 01/02/2011 03:42 PM, Rémi Forax wrote:
> Hi all,
> While patching ASM in order to generate the new class file format,
> I generate a class file that crash the VM
> (see attachment).
>
> This means there is a bug in my code but also
> that there is a bug in the VM which should reject the bad class file
> instead of crashing.
>
> Rémi
>

In fact, this crash is not related to invokedynamic at all.
I forget to ask ASM to calculate maxstack and maxlocals
but I still don't understand why the VM crash.

Rémi



More information about the mlvm-dev mailing list