src/hotspot/share/ci/ciObjectFactory.cpp
changeset 58722 cba8afa5cfed
parent 58273 08a5148e7c4e
--- a/src/hotspot/share/ci/ciObjectFactory.cpp	Mon Oct 21 09:26:14 2019 -0700
+++ b/src/hotspot/share/ci/ciObjectFactory.cpp	Mon Oct 21 13:13:16 2019 -0400
@@ -486,7 +486,7 @@
 
   // Two cases: this is an unloaded ObjArrayKlass or an
   // unloaded InstanceKlass.  Deal with both.
-  if (name->char_at(0) == '[') {
+  if (name->char_at(0) == JVM_SIGNATURE_ARRAY) {
     // Decompose the name.'
     FieldArrayInfo fd;
     BasicType element_type = FieldType::get_array_info(name->get_symbol(),