8191132: assert condition should not be in quotes
authorhseigel
Tue, 14 Nov 2017 14:05:34 -0500
changeset 47890 2219a502fd45
parent 47889 839a3b403a5e
child 47891 fa736014cf28
8191132: assert condition should not be in quotes Summary: Remove bogus double quotation marks Reviewed-by: coleenp
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();