diff -r ae0af9fb3dbb -r cba8afa5cfed src/hotspot/share/classfile/systemDictionary.cpp --- a/src/hotspot/share/classfile/systemDictionary.cpp Mon Oct 21 09:26:14 2019 -0700 +++ b/src/hotspot/share/classfile/systemDictionary.cpp Mon Oct 21 13:13:16 2019 -0400 @@ -2533,7 +2533,7 @@ // It's a primitive. (Void has a primitive mirror too.) char ch = type->char_at(0); - assert(is_java_primitive(char2type(ch)) || ch == 'V', ""); + assert(is_java_primitive(char2type(ch)) || ch == JVM_SIGNATURE_VOID, ""); return Handle(THREAD, find_java_mirror_for_type(ch)); } else if (FieldType::is_obj(type) || FieldType::is_array(type)) {