@@ -491,11 +491,11 @@ } } // Make this class loader depend upon the class loader owning the class reference ClassLoaderData* this_key = this_cp->pool_holder()->class_loader_data(); - this_key->record_dependency(k, CHECK_NULL); // Can throw OOM + this_key->record_dependency(k); // logging for class+resolve. if (log_is_enabled(Debug, class, resolve)){ trace_class_resolution(this_cp, k); }