< prev index next > src/hotspot/share/compiler/methodMatcher.cpp
Print this page
if ((strchr(method_name, JVM_SIGNATURE_SPECIAL) != nullptr) ||
(strchr(method_name, JVM_SIGNATURE_ENDSPECIAL) != nullptr)) {
if (!vmSymbols::object_initializer_name()->equals(method_name) &&
!vmSymbols::class_initializer_name()->equals(method_name)) {
- error_msg = "Chars '<' and '>' only allowed in <init> and <clinit>";
+ error_msg = "Chars '<' and '>' only allowed in <init>, <clinit>";
return;
}
}
if (c_match == MethodMatcher::Unknown || m_match == MethodMatcher::Unknown) {
< prev index next >