Add test to verify that com.sun.net.httpserver.BasicAuthenticator constructors throw expected exceptions

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: 14
    • Component/s: core-libs
    • b13

      The com.sun.net.httpserver.BasicAuthenticator constructors specifies that NullPointerException will be thrown if realm or charset are {@code null}
      and IllegalArgumentException will be thrown if realm is an empty string.

      We need to add a test for those assertions.

            Assignee:
            Patrick Concannon (Inactive)
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: