What does the jsr keyword mean?

前端 未结 6 1425
栀梦
栀梦 2021-01-18 20:21

I\'m looking at some Java code, and I\'ve noticed the following:

if (!foo(bar, baz, qux)) {
    i = 0; jsr 433;
}

javac chokes on it, sayin

6条回答
  •  天命终不由人
    2021-01-18 21:16

    jsr 433 is not a valid Java statement. It is a VM instruction which stands for "Jump to Sub Routine" (See the VM Spec for more information). The decompiler inserted it because it didn't understand the bytecode instruction (perhaps it was obfuscated) and so couldn't decompile it into valid Java source.

提交回复
热议问题