What Java compilers use the jsr instruction, and what for?

前端 未结 2 963
情书的邮戳
情书的邮戳 2020-12-03 13:56

The Java bytecode language has the JSR instruction.

None of the code I\'ve compiled with the Java 7 compiler uses this instruction.

However, sometimes Java b

2条回答
  •  甜味超标
    2020-12-03 14:51

    According to the JVM specification:

    In Oracle's implementation of a compiler for the Java programming language prior to Java SE 6, the jsr instruction was used with the ret instruction in the implementation of the finally clause

提交回复
热议问题