我试图分析java代码并查看它做了什么,但在“中断标签”行中出现“未定义标签”错误。从我的理解Java不像C#允许闯入当前范围之外的范围。这不正确吗? 使用标签中断时java中出现“未定义标签”错误
if (conditions) {
// some code
if (conditions) {
break label;
}
// some code
}
for (;;) {
if (conditions) {
// some code
}
// some code
break;
label:
// some code
}
好悲伤。什么可怕的代码。如果它给出编译器错误,它不会“做”任何事情,所以没有必要分析它。 –
@AndyTurner反编译,我猜它是反编译器的错误。 – Azilvl
如果您的反编译器生成不可编译的代码,它真的值得使用吗? –