You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Andrew Cornwall <an...@gmail.com> on 2009/01/05 22:27:26 UTC

[vmtt] Any way to specify padding for lookupswitch/tableswitch?

I'm trying to build some invalid .class files for testing using VMTT. I've
run into a slight snag with the switch bytecodes (lookupswitch/tableswitch).
Unless I'm mistaken, it appears that VMTT doesn't allow one to specify the
bytecode padding explicitly in these statements.

I can work around this by hand-coding the bytes before my
lookupswitch/tableswitch to ensure they have the right offset - but is there
a way (short of -Ebin) to set the padding explicitly in my .ccode file?

Thanks!

    Andrew Jr.