src/hotspot/share/classfile/vmSymbols.cpp
changeset 51997 9ce37fa2e179
parent 50860 480a96a43b62
child 52220 9c260a6b6471
equal deleted inserted replaced
51996:84743156e780 51997:9ce37fa2e179
   210 
   210 
   211 
   211 
   212 BasicType vmSymbols::signature_type(const Symbol* s) {
   212 BasicType vmSymbols::signature_type(const Symbol* s) {
   213   assert(s != NULL, "checking");
   213   assert(s != NULL, "checking");
   214   if (s->utf8_length() == 1) {
   214   if (s->utf8_length() == 1) {
   215     BasicType result = char2type(s->byte_at(0));
   215     BasicType result = char2type(s->char_at(0));
   216     if (is_java_primitive(result) || result == T_VOID) {
   216     if (is_java_primitive(result) || result == T_VOID) {
   217       assert(s == _type_signatures[result], "");
   217       assert(s == _type_signatures[result], "");
   218       return result;
   218       return result;
   219     }
   219     }
   220   }
   220   }