8209586: AARCH64: SymbolTable changes throw assert on aarch64

Cast the comparison value to match the signdeness

Reviewed-by: gziemski, coleenp
This commit is contained in:
Stuart Monteith 2018-08-17 11:56:59 -05:00 committed by Gerard Ziemski
parent 20f3793312
commit 2788ddc4eb

View File

@ -448,7 +448,7 @@ private:
#ifdef ASSERT
assert(sym->utf8_length() == _len, "%s [%d,%d]", where, sym->utf8_length(), _len);
for (int i = 0; i < _len; i++) {
assert(sym->byte_at(i) == _name[i],
assert(sym->byte_at(i) == (jbyte) _name[i],
"%s [%d,%d,%d]", where, i, sym->byte_at(i), _name[i]);
}
#endif