On Fri, 30 Sep 2022 11:36:01 GMT, Claes Redestad <[email protected]> wrote:

>> Move a simple utility method from `URL` to the shared `sun.net.util.URLUtil` 
>> class, rename it for clarity and enhance it so that it returns the string 
>> literal if the protocol matches one of the tested variants. This helps 
>> reduce dependencies from bootstrap code on `Locale` while improving the 
>> performance and allocation pressure in certain applications.
>
> Claes Redestad has updated the pull request incrementally with three 
> additional commits since the last revision:
> 
>  - Move back to URL: clean up imports, minor fix
>  - Move back to URL, special-case URLUtil (fixed)
>  - Move back to URL, special-case URLUtil

Should be all cleaned up now.

-------------

PR: https://git.openjdk.org/jdk/pull/10506

Reply via email to