Different behaviour of java bytecode

前端 未结 6 1258
面向向阳花
面向向阳花 2020-12-30 03:17

I am a newbee in Java Bytecode. I was understanding the bytecode through some examples but I got stuck in an example.
These are my java and bytecode file



        
6条回答
  •  温柔的废话
    2020-12-30 03:22

    iconst_n is defined for n from 0 to 5

    There's no iconst_9, so you have to use the equivalent (but less efficent) bipush

提交回复
热议问题