src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
changeset 51997 9ce37fa2e179
parent 51606 18afb2097ada
child 52311 274ba8fbd96d
equal deleted inserted replaced
51996:84743156e780 51997:9ce37fa2e179
   433   Handle protection_domain(THREAD, accessing_klass->protection_domain());
   433   Handle protection_domain(THREAD, accessing_klass->protection_domain());
   434 
   434 
   435   if (resolve) {
   435   if (resolve) {
   436     resolved_klass = SystemDictionary::resolve_or_null(class_name, class_loader, protection_domain, CHECK_0);
   436     resolved_klass = SystemDictionary::resolve_or_null(class_name, class_loader, protection_domain, CHECK_0);
   437   } else {
   437   } else {
   438     if (class_name->byte_at(0) == 'L' &&
   438     if (class_name->char_at(0) == 'L' &&
   439       class_name->byte_at(class_name->utf8_length()-1) == ';') {
   439       class_name->char_at(class_name->utf8_length()-1) == ';') {
   440       // This is a name from a signature.  Strip off the trimmings.
   440       // This is a name from a signature.  Strip off the trimmings.
   441       // Call recursive to keep scope of strippedsym.
   441       // Call recursive to keep scope of strippedsym.
   442       TempNewSymbol strippedsym = SymbolTable::new_symbol(class_name->as_utf8()+1,
   442       TempNewSymbol strippedsym = SymbolTable::new_symbol(class_name->as_utf8()+1,
   443                                                           class_name->utf8_length()-2,
   443                                                           class_name->utf8_length()-2,
   444                                                           CHECK_0);
   444                                                           CHECK_0);