--- a/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp Mon Oct 21 09:26:14 2019 -0700
+++ b/src/hotspot/share/jvmci/jvmciCompilerToVM.cpp Mon Oct 21 13:13:16 2019 -0400
@@ -535,8 +535,8 @@
JVMCI_THROW_MSG_NULL(ClassNotFoundException, str);
}
} else {
- if (class_name->char_at(0) == 'L' &&
- class_name->char_at(class_name->utf8_length()-1) == ';') {
+ if (class_name->char_at(0) == JVM_SIGNATURE_CLASS &&
+ class_name->char_at(class_name->utf8_length()-1) == JVM_SIGNATURE_ENDCLASS) {
// This is a name from a signature. Strip off the trimmings.
// Call recursive to keep scope of strippedsym.
TempNewSymbol strippedsym = SymbolTable::new_symbol(class_name->as_utf8()+1,