mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8338937: Optimize the string concatenation of ClassDesc
Reviewed-by: liach
This commit is contained in:
parent
d4dfa0127f
commit
55312e1549
7 changed files with 53 additions and 18 deletions
|
@ -2650,6 +2650,10 @@ public final class System {
|
|||
return String.join(prefix, suffix, delimiter, elements, size);
|
||||
}
|
||||
|
||||
public String concat(String prefix, Object value, String suffix) {
|
||||
return StringConcatHelper.concat(prefix, value, suffix);
|
||||
}
|
||||
|
||||
public Object classData(Class<?> c) {
|
||||
return c.getClassData();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue