src/java.base/share/classes/java/net/IDN.java
changeset 52499 768b1c612100
parent 47216 71c04702a3d5
equal deleted inserted replaced
52498:c3066f7465fa 52499:768b1c612100
   405     //
   405     //
   406     // LDH stands for "letter/digit/hyphen", with characters restricted to the
   406     // LDH stands for "letter/digit/hyphen", with characters restricted to the
   407     // 26-letter Latin alphabet <A-Z a-z>, the digits <0-9>, and the hyphen
   407     // 26-letter Latin alphabet <A-Z a-z>, the digits <0-9>, and the hyphen
   408     // <->.
   408     // <->.
   409     // Non LDH refers to characters in the ASCII range, but which are not
   409     // Non LDH refers to characters in the ASCII range, but which are not
   410     // letters, digits or the hypen.
   410     // letters, digits or the hyphen.
   411     //
   411     //
   412     // non-LDH = 0..0x2C, 0x2E..0x2F, 0x3A..0x40, 0x5B..0x60, 0x7B..0x7F
   412     // non-LDH = 0..0x2C, 0x2E..0x2F, 0x3A..0x40, 0x5B..0x60, 0x7B..0x7F
   413     //
   413     //
   414     private static boolean isNonLDHAsciiCodePoint(int ch){
   414     private static boolean isNonLDHAsciiCodePoint(int ch){
   415         return (0x0000 <= ch && ch <= 0x002C) ||
   415         return (0x0000 <= ch && ch <= 0x002C) ||