src/hotspot/share/ci/ciObjectFactory.cpp
changeset 51997 9ce37fa2e179
parent 51554 5b0d86499960
child 52195 f08c1d7a5c53
--- a/src/hotspot/share/ci/ciObjectFactory.cpp	Wed Oct 03 03:41:57 2018 -0400
+++ b/src/hotspot/share/ci/ciObjectFactory.cpp	Wed Oct 03 09:46:46 2018 -0400
@@ -466,7 +466,7 @@
 
   // 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(),