src/hotspot/share/classfile/systemDictionary.cpp
changeset 58722 cba8afa5cfed
parent 58499 d62c7224d5b7
child 58756 b7aa58d7f5aa
--- 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)) {