Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8022758

IDN.toASCII() does not throw IAE for "example..com".

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • None
    • core-libs
    • None

      "example..com" is not a valid IDN, IDN.toASCII("example..com") should throws IAE, rather than throw java.lang.StringIndexOutOfBoundsException.

            xuelei Xuelei Fan
            xuelei Xuelei Fan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: