src/hotspot/share/oops/cpCache.cpp
changeset 47890 2219a502fd45
parent 47684 c3c04b6e14f8
child 48463 474cec233fb2
child 48557 2e867226b914
--- 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();