< prev index next >

src/jdk.jdi/share/classes/com/sun/tools/jdi/JNITypeParser.java

Print this page
rev 58768 : 8238358: Implementation of JEP 371: Hidden Classes
Reviewed-by: alanb, cjplummer, coleenp, dholmes, dlong, forax, jlahoda, psandoz, plevart, vromero
Contributed-by: mandy.chung@oracle.com, lois.foltan@oracle.com, david.holmes@oracle.com, harold.seigel@oracle.com, serguei.spitsyn@oracle.com, alex.buckley@oracle.com, jamsheed.c.m@oracle.com, jan.lahoda@oracle.com, amy.lu@oracle.com
rev 58769 : [mq]: type-descriptor-name

*** 78,88 **** if (index < 0) { sb.append(typeName.replace('.', '/')); } else { sb.append(typeName.substring(0, index).replace('.', '/')); sb.append("."); ! sb.append(typeName.substring(index+1, typeName.length())); } sb.append(';'); } return sb.toString(); --- 78,88 ---- if (index < 0) { sb.append(typeName.replace('.', '/')); } else { sb.append(typeName.substring(0, index).replace('.', '/')); sb.append("."); ! sb.append(typeName.substring(index + 1)); } sb.append(';'); } return sb.toString();
*** 212,223 **** endClass); int index = retVal.indexOf("."); if (index < 0) { retVal = retVal.replace('/', '.'); } else { ! retVal = retVal.substring(0, index).replace('/', '.') + "/" + ! retVal.substring(index + 1, retVal.length()); } currentIndex = endClass + 1; return retVal; case (JDWP.Tag.FLOAT): --- 212,224 ---- endClass); int index = retVal.indexOf("."); if (index < 0) { retVal = retVal.replace('/', '.'); } else { ! // hidden class ! retVal = retVal.substring(0, index).replace('/', '.') ! + "/" + retVal.substring(index + 1); } currentIndex = endClass + 1; return retVal; case (JDWP.Tag.FLOAT):
< prev index next >