src/hotspot/share/jvmci/compilerRuntime.cpp
changeset 58722 cba8afa5cfed
parent 58545 725244418646
child 59056 15936b142f86
--- a/src/hotspot/share/jvmci/compilerRuntime.cpp	Mon Oct 21 09:26:14 2019 -0700
+++ b/src/hotspot/share/jvmci/compilerRuntime.cpp	Mon Oct 21 13:13:16 2019 -0400
@@ -73,7 +73,7 @@
   Handle protection_domain(THREAD, caller->method_holder()->protection_domain());
 
   // Ignore wrapping L and ;
-  if (name[0] == 'L') {
+  if (name[0] == JVM_SIGNATURE_CLASS) {
     assert(len > 2, "small name %s", name);
     name++;
     len -= 2;