src/hotspot/share/classfile/systemDictionary.cpp
changeset 51997 9ce37fa2e179
parent 51959 db0c3952de52
child 52062 8dbf1a13af49
--- a/src/hotspot/share/classfile/systemDictionary.cpp	Wed Oct 03 03:41:57 2018 -0400
+++ b/src/hotspot/share/classfile/systemDictionary.cpp	Wed Oct 03 09:46:46 2018 -0400
@@ -2601,7 +2601,7 @@
   if (type->utf8_length() == 1) {
 
     // It's a primitive.  (Void has a primitive mirror too.)
-    char ch = (char) type->byte_at(0);
+    char ch = type->char_at(0);
     assert(is_java_primitive(char2type(ch)) || ch == 'V', "");
     return Handle(THREAD, find_java_mirror_for_type(ch));