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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      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

              Assignee:
              jboes Julia Boes
              Reporter:
              jboes Julia Boes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: