src/hotspot/share/jvmci/jvmciEnv.cpp
changeset 52067 2e72562697bf
parent 51997 9ce37fa2e179
child 53417 126c5e7b97b1
child 53425 312880c38a7f
equal deleted inserted replaced
52066:49a21be61dcd 52067:2e72562697bf
   146                              cpool,
   146                              cpool,
   147                              elem_sym,
   147                              elem_sym,
   148                              require_local);
   148                              require_local);
   149     if (elem_klass != NULL) {
   149     if (elem_klass != NULL) {
   150       // Now make an array for it
   150       // Now make an array for it
   151       return elem_klass->array_klass(CHECK_NULL);
   151       return elem_klass->array_klass(THREAD);
   152     }
   152     }
   153   }
   153   }
   154 
   154 
   155   if (found_klass == NULL && !cpool.is_null() && cpool->has_preresolution()) {
   155   if (found_klass == NULL && !cpool.is_null() && cpool->has_preresolution()) {
   156     // Look inside the constant pool for pre-resolved class entries.
   156     // Look inside the constant pool for pre-resolved class entries.