As a follow-up on JDK-8240254, the SystemDictionary::quick_resolve function body should also be guarded by #if INCLUDE_CDS ... #endif.