6888954: argument formatting for assert() and friends

Reviewed-by: kvn, twisti, apetrusenko, never, dcubed
This commit is contained in:
John Coomes 2010-04-22 13:23:15 -07:00
parent 7e76feaf42
commit 99196ff9ca
37 changed files with 396 additions and 211 deletions

View file

@ -57,7 +57,7 @@ SignatureIterator::SignatureIterator(Thread *thread, symbolOop signature) {
}
void SignatureIterator::expect(char c) {
if (_signature->byte_at(_index) != c) fatal1("expecting %c", c);
if (_signature->byte_at(_index) != c) fatal(err_msg("expecting %c", c));
_index++;
}