8221408: Windows 32bit build build errors/warnings in hotspot

Reviewed-by: kbarrett, dholmes
This commit is contained in:
Thomas Stuefe 2019-03-29 08:36:33 +01:00
parent 88db8649df
commit 02ed0e3e52
3 changed files with 8 additions and 12 deletions

View file

@ -312,7 +312,7 @@ void ClassFileParser::parse_constant_pool_entries(const ClassFileStream* const s
const char* const str = java_lang_String::as_utf8_string(patch());
// (could use java_lang_String::as_symbol instead, but might as well batch them)
utf8_buffer = (const u1*) str;
utf8_length = (int) strlen(str);
utf8_length = (u2) strlen(str);
}
unsigned int hash;