8209586: AARCH64: SymbolTable changes throw assert on aarch64
Summary: Cast the comparison value to match the signdeness
Reviewed-by: gziemski, coleenp
Contributed-by: stuart.monteigh@linaro.org
--- a/src/hotspot/share/classfile/symbolTable.cpp Fri Aug 17 09:53:52 2018 -0700
+++ b/src/hotspot/share/classfile/symbolTable.cpp Fri Aug 17 11:56:59 2018 -0500
@@ -448,7 +448,7 @@
#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