RFR: 8269692: sun.net.httpserver.ServerImpl::createContext should throw IAE [v2]
Daniel Fuchs
dfuchs at openjdk.java.net
Tue Jul 6 11:50:52 UTC 2021
On Mon, 5 Jul 2021 13:38:19 GMT, Julia Boes <jboes at openjdk.org> wrote:
>> `com.sun.net.httpserver.HttpServer::createContext` specifies `IllegalArgumentException` to be thrown if a context already exists for the path provided. The implementation class`sun.net.httpserver.ServerImpl` does not comply with this, which is fixed by this change.
>>
>> Testing: Tier 1-3 all clear.
>
> Julia Boes has updated the pull request incrementally with one additional commit since the last revision:
>
> address PR comments
Marked as reviewed by dfuchs (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/4665
More information about the net-dev
mailing list