Skip to content
Permalink
Browse files

8244276: Zero and minimal VM build failure after JDK-8178349 (use of …

…undeclared identifier 'SystemDictionaryShared')

Reviewed-by: minqi, dholmes
  • Loading branch information
DamonFool committed May 3, 2020
1 parent eee3249 commit 765a5b858b1252cdc86643fc7cac3b607aa07405
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/hotspot/share/classfile/systemDictionary.cpp
@@ -2336,12 +2336,14 @@ bool SystemDictionary::add_loader_constraint(Symbol* class_name,
InstanceKlass* klass2 = find_class(d_hash2, constraint_name, dictionary2);
bool result = constraints()->add_entry(constraint_name, klass1, class_loader1,
klass2, class_loader2);
#if INCLUDE_CDS
if (Arguments::is_dumping_archive() && klass_being_linked != NULL &&
!klass_being_linked->is_shared()) {
SystemDictionaryShared::record_linking_constraint(constraint_name,
InstanceKlass::cast(klass_being_linked),
class_loader1, class_loader2, THREAD);
}
#endif // INCLUDE_CDS
if (Signature::is_array(class_name)) {
constraint_name->decrement_refcount();
}

0 comments on commit 765a5b8

Please sign in to comment.