mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +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
|
@ -201,7 +201,9 @@ class java_lang_String : AllStatic {
|
|||
static inline bool value_equals(typeArrayOop str_value1, typeArrayOop str_value2);
|
||||
|
||||
// Conversion between '.' and '/' formats
|
||||
static Handle externalize_classname(Handle java_string, TRAPS) { return char_converter(java_string, '/', '.', THREAD); }
|
||||
static Handle externalize_classname(Handle java_string, TRAPS) {
|
||||
return char_converter(java_string, JVM_SIGNATURE_SLASH, JVM_SIGNATURE_DOT, THREAD);
|
||||
}
|
||||
|
||||
// Conversion
|
||||
static Symbol* as_symbol(oop java_string);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue