rootvector2 commented on PR #526: URL: https://github.com/apache/commons-bcel/pull/526#issuecomment-5033132409
That's the byte-form `iinc`. Once the increment doesn't fit in a byte, `setWide()` switches to the wide form, and `wide iinc` takes a signed 16-bit const (constbyte1/constbyte2, second form of `wide`: https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-6.html#jvms-6.5.wide), which `dump` writes with `writeShort(c)`. So a signed short is the widest increment BCEL can emit; anything beyond it gets silently truncated by `writeShort`, which is what the guard rejects. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
