--- old/src/hotspot/share/compiler/methodMatcher.cpp 2020-01-24 19:17:55.812532739 +0000 +++ new/src/hotspot/share/compiler/methodMatcher.cpp 2020-01-24 19:17:55.028085611 +0000 @@ -271,7 +271,8 @@ } if ((strchr(method_name, JVM_SIGNATURE_SPECIAL) != NULL) || (strchr(method_name, JVM_SIGNATURE_ENDSPECIAL) != NULL)) { - if ((strncmp("", method_name, 255) != 0) && (strncmp("", method_name, 255) != 0)) { + if (!vmSymbols::object_initializer_name()->equals(method_name) && + !vmSymbols::class_initializer_name()->equals(method_name)) { error_msg = "Chars '<' and '>' only allowed in and "; return; }