--- old/src/hotspot/share/oops/constantPool.cpp 2018-03-02 22:45:04.551798562 -0500 +++ new/src/hotspot/share/oops/constantPool.cpp 2018-03-02 22:45:03.767128976 -0500 @@ -493,7 +493,7 @@ // 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)){