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

XMLWordPrintable

    • b99
    • b105
    • Verified

        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]

              Assignee:
              Xuelei Fan
              Reporter:
              Paul Rank (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: