jdk/src/share/classes/sun/reflect/UTF8.java
changeset 10419 12c063b39232
parent 5506 202f599c92aa
child 14342 8435a30053c1
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
    50                     res[utf8Idx++] = (byte) (0x80 + (c & 0x3F));
    50                     res[utf8Idx++] = (byte) (0x80 + (c & 0x3F));
    51                 }
    51                 }
    52             }
    52             }
    53         } catch (ArrayIndexOutOfBoundsException e) {
    53         } catch (ArrayIndexOutOfBoundsException e) {
    54             throw new InternalError
    54             throw new InternalError
    55                 ("Bug in sun.reflect bootstrap UTF-8 encoder");
    55                 ("Bug in sun.reflect bootstrap UTF-8 encoder", e);
    56         }
    56         }
    57         return res;
    57         return res;
    58     }
    58     }
    59 
    59 
    60     private static int utf8Length(String str) {
    60     private static int utf8Length(String str) {