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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • 14
    • 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.

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

              Created:
              Updated:
              Resolved: