agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java	Fri Jul  8 15:22:36 2011
--- new/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java	Fri Jul  8 15:22:36 2011

*** 33,43 **** --- 33,43 ---- BytecodeWithCPIndex(Method method, int bci) { super(method, bci); } // 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"); }

agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File