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

IDN do not throw IAE when hostname ends with a trailing dot

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b99
    • Resolved In Build:
      b105
    • Verification:
      Verified

      Backports

        Description

        According to the spec, The SNIHostName constructors should throw an IllegalArgumentException when the hostname ends with a trailing dot. The exception is not being thrown.
        This leads to 2 JCK test failures:
         api/javax_net/ssl/SNIHostName/index.html#Constructor[testTrailingDot]
         api/javax_net/ssl/SNIHostName/index.html#ConstructorEncoded[testTrailingDot]

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                xuelei Xue-Lei Fan
                Reporter:
                pjr Paul Rank (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: