< prev index next >

src/hotspot/share/ci/ciObjectFactory.cpp

Print this page

        

@@ -464,11 +464,11 @@
   // the cache.
   ciKlass* new_klass = NULL;
 
   // Two cases: this is an unloaded ObjArrayKlass or an
   // unloaded InstanceKlass.  Deal with both.
-  if (name->byte_at(0) == '[') {
+  if (name->char_at(0) == '[') {
     // Decompose the name.'
     FieldArrayInfo fd;
     BasicType element_type = FieldType::get_array_info(name->get_symbol(),
                                                        fd, THREAD);
     if (HAS_PENDING_EXCEPTION) {
< prev index next >