8080775: Better argument formatting for assert() and friends

Reviewed-by: kbarrett, pliden
This commit is contained in:
David Lindholm 2015-09-29 11:02:08 +02:00
parent aa0818a98a
commit 1e71f67736
225 changed files with 1342 additions and 1432 deletions

View file

@ -269,7 +269,7 @@ class Universe: AllStatic {
}
static Klass* typeArrayKlassObj(BasicType t) {
assert((uint)t < T_VOID+1, err_msg("range check for type: %s", type2name(t)));
assert((uint)t < T_VOID+1, "range check for type: %s", type2name(t));
assert(_typeArrayKlassObjs[t] != NULL, "domain check");
return _typeArrayKlassObjs[t];
}