changeset 10251 | 71b8938a2821 |
parent 7662 | 5f31baaff55b |
child 13728 | 882756847a04 |
--- a/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java Wed Jul 20 18:04:17 2011 -0700 +++ b/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java Thu Jul 21 08:38:25 2011 -0700 @@ -35,7 +35,7 @@ } // the constant pool index for this bytecode - public int index() { return 0xFFFF & javaShortAt(1); } + public int index() { return getIndexU2(code(), false); } public int getSecondaryIndex() { throw new IllegalArgumentException("must be invokedynamic");