Re: RFR: 8267840: Improve URLStreamHandler.parseURL() [v3]

2021-07-05 Thread Сергей Цыпанов
> 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 >

Re: RFR: 8269692: sun.net.httpserver.ServerImpl::createContext should throw IAE [v2]

2021-07-05 Thread Julia Boes
> `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

Re: RFR: 8267840: Improve URLStreamHandler.parseURL() [v2]

2021-07-05 Thread Сергей Цыпанов
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