提交 5e59a959 编写于 作者: N never

7016881: JSR 292: JDI: sun.jvm.hotspot.utilities.AssertionFailure: index out of bounds

Reviewed-by: kvn, twisti
上级 e80d667c
...@@ -90,7 +90,7 @@ public class BytecodeLoadConstant extends Bytecode { ...@@ -90,7 +90,7 @@ public class BytecodeLoadConstant extends Bytecode {
jcode == Bytecodes._ldc2_w; jcode == Bytecodes._ldc2_w;
if (! codeOk) return false; if (! codeOk) return false;
ConstantTag ctag = method().getConstants().getTagAt(rawIndex()); ConstantTag ctag = method().getConstants().getTagAt(poolIndex());
if (jcode == Bytecodes._ldc2_w) { if (jcode == Bytecodes._ldc2_w) {
// has to be double or long // has to be double or long
return (ctag.isDouble() || ctag.isLong()) ? true: false; return (ctag.isDouble() || ctag.isLong()) ? true: false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册