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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None

      Description

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                xuelei Xue-Lei Fan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: