diff -r 839a3b403a5e -r 2219a502fd45 src/hotspot/share/oops/cpCache.cpp --- a/src/hotspot/share/oops/cpCache.cpp Tue Nov 14 16:45:27 2017 +0100 +++ b/src/hotspot/share/oops/cpCache.cpp Tue Nov 14 14:05:34 2017 -0500 @@ -440,7 +440,7 @@ Symbol* error = PENDING_EXCEPTION->klass()->name(); Symbol* message = java_lang_Throwable::detail_message(PENDING_EXCEPTION); - assert("message != NULL", "Missing detail message"); + assert(message != NULL, "Missing detail message"); SystemDictionary::add_resolution_error(cpool, index, error, message); set_indy_resolution_failed();