< prev index next >

src/java.base/share/classes/sun/invoke/util/BytecodeDescriptor.java

Print this page
rev 58769 : [mq]: type-descriptor-name

*** 152,164 **** if (c != 'L') { sb.append(c); } else if (t == Object.class) { sb.append("Ljava/lang/Object;"); } else { ! boolean lsemi = (!t.isArray()); ! if (lsemi) sb.append('L'); ! sb.append(t.getName().replace('.', '/')); ! if (lsemi) sb.append(';'); } } - } --- 152,160 ---- if (c != 'L') { sb.append(c); } else if (t == Object.class) { sb.append("Ljava/lang/Object;"); } else { ! sb.append(t.descriptorString()); } } }
< prev index next >