提交 343c5e97 编写于 作者: A aefimov

8230613: Better ASCII conversions

Reviewed-by: dfuchs, naoto, mschoene, rhalade
上级 f840dbe7
......@@ -185,7 +185,7 @@ public final class Punycode {
for(j=0; j<srcLength; ++j) {
if(srcCPCount==MAX_CP_COUNT) {
/* too many input code points */
throw new IndexOutOfBoundsException();
throw new ParseException("Too many input code points", -1);
}
c=src.charAt(j);
if(isBasic(c)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册