src/hotspot/share/aot/aotCodeHeap.cpp
changeset 58722 cba8afa5cfed
parent 58537 30a9612a657d
child 58901 2700c409ff10
--- a/src/hotspot/share/aot/aotCodeHeap.cpp	Mon Oct 21 09:26:14 2019 -0700
+++ b/src/hotspot/share/aot/aotCodeHeap.cpp	Mon Oct 21 13:13:16 2019 -0400
@@ -93,7 +93,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;