src/hotspot/share/classfile/verifier.cpp
changeset 51997 9ce37fa2e179
parent 51697 49e1b21d9878
child 52823 f5d0926026ec
--- a/src/hotspot/share/classfile/verifier.cpp	Wed Oct 03 03:41:57 2018 -0400
+++ b/src/hotspot/share/classfile/verifier.cpp	Wed Oct 03 09:46:46 2018 -0400
@@ -2809,7 +2809,7 @@
     }
   }
 
-  if (method_name->byte_at(0) == '<') {
+  if (method_name->char_at(0) == '<') {
     // Make sure <init> can only be invoked by invokespecial
     if (opcode != Bytecodes::_invokespecial ||
         method_name != vmSymbols::object_initializer_name()) {