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

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

2021-07-02 Thread Daniel Fuchs
On Wed, 30 Jun 2021 11:47:42 GMT, Сергей Цыпанов wrote: >> 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 atte

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

2021-06-30 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 >