diff -r ae0af9fb3dbb -r cba8afa5cfed src/hotspot/share/oops/instanceKlass.cpp --- a/src/hotspot/share/oops/instanceKlass.cpp Mon Oct 21 09:26:14 2019 -0700 +++ b/src/hotspot/share/oops/instanceKlass.cpp Mon Oct 21 13:13:16 2019 -0400 @@ -2594,7 +2594,7 @@ // Add L as type indicator int dest_index = 0; - dest[dest_index++] = 'L'; + dest[dest_index++] = JVM_SIGNATURE_CLASS; // Add the actual class name for (int src_index = 0; src_index < src_length; ) { @@ -2607,7 +2607,7 @@ } // Add the semicolon and the NULL - dest[dest_index++] = ';'; + dest[dest_index++] = JVM_SIGNATURE_ENDCLASS; dest[dest_index] = '\0'; return dest; }