< prev index next >

src/hotspot/share/jvmci/jvmciEnv.cpp

Print this page

        

@@ -146,11 +146,12 @@
                              cpool,
                              elem_sym,
                              require_local);
     if (elem_klass != NULL) {
       // Now make an array for it
-      return elem_klass->array_klass(CHECK_NULL);
+      Klass* arr = elem_klass->array_klass(CHECK_NULL);
+      return arr;
     }
   }
 
   if (found_klass == NULL && !cpool.is_null() && cpool->has_preresolution()) {
     // Look inside the constant pool for pre-resolved class entries.
< prev index next >