--- old/src/hotspot/share/classfile/verificationType.cpp 2019-10-01 15:26:48.047371456 -0700 +++ new/src/hotspot/share/classfile/verificationType.cpp 2019-10-01 15:26:47.526352042 -0700 @@ -94,7 +94,7 @@ return true; } - if (DumpSharedSpaces || DynamicDumpSharedSpaces) { + if (Arguments::is_dumping_archive()) { if (SystemDictionaryShared::add_verification_constraint(klass, name(), from.name(), from_field_is_protected, from.is_array(), from.is_object())) {