--- old/src/hotspot/share/oops/constantPool.cpp 2020-02-27 16:16:24.205286695 -0800 +++ new/src/hotspot/share/oops/constantPool.cpp 2020-02-27 16:16:21.072162958 -0800 @@ -304,7 +304,7 @@ } void ConstantPool::resolve_class_constants(TRAPS) { - assert(DumpSharedSpaces, "used during dump time only"); + Arguments::assert_is_dumping_archive(); // The _cache may be NULL if the _pool_holder klass fails verification // at dump time due to missing dependencies. if (cache() == NULL || reference_map() == NULL) {