On Fri, 2 Jul 2021 11:56:04 GMT, Julia Boes <jb...@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. This pull request has now been integrated. Changeset: f485171c Author: Julia Boes <jb...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/f485171ce8c7e9c9d7d2c24e1807efaa6ff137e8 Stats: 104 lines in 2 files changed: 98 ins; 4 del; 2 mod 8269692: sun.net.httpserver.ServerImpl::createContext should throw IAE Reviewed-by: dfuchs ------------- PR: https://git.openjdk.java.net/jdk/pull/4665