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

sun.net.httpserver.ServerImpl::createContext should throw IAE

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 18
    • core-libs
    • None
    • b06

    Description

      HttpServer::createContext specifies IllegalArgumentException to be thrown if a context already exists for the path provided. This is currently not the case for the implementation class sun.net.httpserver.ServerImpl.

      Attachments

        Issue Links

          Activity

            People

              jboes Julia Boes (Inactive)
              jboes Julia Boes (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: