comparison agent/src/share/classes/sun/jvm/hotspot/oops/Method.java @ 3838:6a991dcb52bb

7012081: JSR 292: SA-JDI can't read MH/MT/Indy ConstantPool entries Reviewed-by: kvn, twisti, jrose
author never
date Thu, 21 Jul 2011 08:38:25 -0700
parents 1d1603768966
children f6f3bb0ee072
comparison
equal deleted inserted replaced
3837:43f9d800f276 3838:6a991dcb52bb
178 bytecode stream */ 178 bytecode stream */
179 public short getBytecodeShortArg(int bci) { 179 public short getBytecodeShortArg(int bci) {
180 return getConstMethod().getBytecodeShortArg(bci); 180 return getConstMethod().getBytecodeShortArg(bci);
181 } 181 }
182 182
183 /** Fetches a 16-bit native ordered value from the
184 bytecode stream */
185 public short getNativeShortArg(int bci) {
186 return getConstMethod().getNativeShortArg(bci);
187 }
188
183 /** Fetches a 32-bit big-endian ("Java ordered") value from the 189 /** Fetches a 32-bit big-endian ("Java ordered") value from the
184 bytecode stream */ 190 bytecode stream */
185 public int getBytecodeIntArg(int bci) { 191 public int getBytecodeIntArg(int bci) {
186 return getConstMethod().getBytecodeIntArg(bci); 192 return getConstMethod().getBytecodeIntArg(bci);
193 }
194
195 /** Fetches a 32-bit native ordered value from the
196 bytecode stream */
197 public int getNativeIntArg(int bci) {
198 return getConstMethod().getNativeIntArg(bci);
187 } 199 }
188 200
189 public byte[] getByteCode() { 201 public byte[] getByteCode() {
190 return getConstMethod().getByteCode(); 202 return getConstMethod().getByteCode();
191 } 203 }