We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d759c96 commit d859826Copy full SHA for d859826
spring-core/src/main/java/org/springframework/asm/Type.java
@@ -562,7 +562,7 @@ public String getClassName() {
562
}
563
return sb.toString();
564
case OBJECT:
565
- return new String(buf, off, len).replace('/', '.');
+ return new String(buf, off, len).replace('/', '.').intern();
566
default:
567
return null;
568
@@ -577,7 +577,7 @@ public String getClassName() {
577
* @return the internal name of the class corresponding to this object type.
578
*/
579
public String getInternalName() {
580
- return new String(buf, off, len);
+ return new String(buf, off, len).intern();
581
582
583
/**
0 commit comments