hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/BytecodeWithCPIndex.java
equal
deleted
inserted
replaced
33 BytecodeWithCPIndex(Method method, int bci) { |
33 BytecodeWithCPIndex(Method method, int bci) { |
34 super(method, bci); |
34 super(method, bci); |
35 } |
35 } |
36 |
36 |
37 // the constant pool index for this bytecode |
37 // the constant pool index for this bytecode |
38 public int index() { return 0xFFFF & javaShortAt(1); } |
38 public int index() { return getIndexU2(code(), false); } |
39 |
39 |
40 public int getSecondaryIndex() { |
40 public int getSecondaryIndex() { |
41 throw new IllegalArgumentException("must be invokedynamic"); |
41 throw new IllegalArgumentException("must be invokedynamic"); |
42 } |
42 } |
43 |
43 |