mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8231844: Enhance type signature characters in classfile_constants.h and improve the JVM to use type signature characters more consistently
Increase the use of type signature constants instead of hard coded characters within the JVM. Co-authored-by: John Rose <john.r.rose@oracle.com> Reviewed-by: coleenp, dholmes, fparain
This commit is contained in:
parent
0192c5a02f
commit
fce4320369
43 changed files with 371 additions and 326 deletions
|
@ -970,7 +970,7 @@ const char* vmIntrinsics::short_name_as_C_string(vmIntrinsics::ID id, char* buf,
|
|||
case F_RNY:fname = "native synchronized "; break;
|
||||
default: break;
|
||||
}
|
||||
const char* kptr = strrchr(kname, '/');
|
||||
const char* kptr = strrchr(kname, JVM_SIGNATURE_SLASH);
|
||||
if (kptr != NULL) kname = kptr + 1;
|
||||
int len = jio_snprintf(buf, buflen, "%s: %s%s.%s%s",
|
||||
str, fname, kname, mname, sname);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue