> There is an optimization opportunity for the widespread use-case when a
> resource is read from classpath using
> `getClass().getClassLoader().getResource()` or
> `getClass().getClassLoader().getResourceAsStream()`.
>
> Pay attention to lines starting from 261. In case I run something like
>
> `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
On Fri, 2 Jul 2021 13:57:47 GMT, Daniel Fuchs wrote:
>> Сергей Цыпанов has updated the pull request with a new target base due to a
>> merge or a rebase. The incremental webrev excludes the unrelated changes
>> brought in by the merge/rebase. The pull request contains three additional
>> commi