changeset 52161:72c82bd05971

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
author gziemski
date Fri, 17 Aug 2018 11:56:59 -0500
parents 8b2310e7b741
children 091c0d22e735
files src/hotspot/share/classfile/symbolTable.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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