bad class file crash the VM

John Rose john.r.rose at oracle.com
Tue Jan 4 16:31:06 PST 2011


On Jan 2, 2011, at 6:42 AM, Rémi Forax wrote:

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

Try "java -Xverify:all".  If the class file fails verification *but* the verifier is not used, the JVM is allowed to be unpredictable.

-- John


More information about the mlvm-dev mailing list