src/hotspot/share/classfile/verificationType.cpp
changeset 51997 9ce37fa2e179
parent 49770 0a8a11767c3d
child 52067 2e72562697bf
--- a/src/hotspot/share/classfile/verificationType.cpp	Wed Oct 03 03:41:57 2018 -0400
+++ b/src/hotspot/share/classfile/verificationType.cpp	Wed Oct 03 09:46:46 2018 -0400
@@ -120,7 +120,7 @@
 VerificationType VerificationType::get_component(ClassVerifier *context, TRAPS) const {
   assert(is_array() && name()->utf8_length() >= 2, "Must be a valid array");
   Symbol* component;
-  switch (name()->byte_at(1)) {
+  switch (name()->char_at(1)) {
     case 'Z': return VerificationType(Boolean);
     case 'B': return VerificationType(Byte);
     case 'C': return VerificationType(Char);