hotspot/src/share/vm/runtime/signature.hpp
changeset 13391 30245956af37
parent 8921 14bfe81f2a9d
child 13728 882756847a04
equal deleted inserted replaced
13309:50c604cb0d5f 13391:30245956af37
   394   BasicType type() const                         { return _type; }
   394   BasicType type() const                         { return _type; }
   395   Symbol* as_symbol(TRAPS);
   395   Symbol* as_symbol(TRAPS);
   396   enum FailureMode { ReturnNull, CNFException, NCDFError };
   396   enum FailureMode { ReturnNull, CNFException, NCDFError };
   397   klassOop as_klass(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   397   klassOop as_klass(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   398   oop as_java_mirror(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
   398   oop as_java_mirror(Handle class_loader, Handle protection_domain, FailureMode failure_mode, TRAPS);
       
   399   const jbyte* raw_bytes()  { return _signature->bytes() + _begin; }
       
   400   int          raw_length() { return _end - _begin; }
   399 
   401 
   400   // return same as_symbol except allocation of new symbols is avoided.
   402   // return same as_symbol except allocation of new symbols is avoided.
   401   Symbol* as_symbol_or_null();
   403   Symbol* as_symbol_or_null();
   402 };
   404 };
   403 
   405