src/hotspot/share/runtime/signature.hpp
changeset 48826 c4d9d1b08e2e
parent 47216 71c04702a3d5
child 48836 423bcbb288ff
--- a/src/hotspot/share/runtime/signature.hpp	Wed Jan 31 10:55:49 2018 -0800
+++ b/src/hotspot/share/runtime/signature.hpp	Fri Sep 08 10:46:46 2017 -0700
@@ -409,6 +409,11 @@
   const jbyte* raw_bytes()  { return _signature->bytes() + _begin; }
   int          raw_length() { return _end - _begin; }
 
+  jbyte raw_byte_at(int index) {
+    assert(index >= 0 && index < raw_length(), "index overflow");
+    return _signature->byte_at(_begin + index);
+  }
+
   // return same as_symbol except allocation of new symbols is avoided.
   Symbol* as_symbol_or_null();