On Fri, 30 Sep 2022 10:39:37 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. This pull request has now been integrated. Changeset: 3efbd5f0 Author: Claes Redestad <[email protected]> URL: https://git.openjdk.org/jdk/commit/3efbd5f0fa2110140f29a145a5387b2cf72cf7ed Stats: 22 lines in 3 files changed: 11 ins; 0 del; 11 mod 8294626: Improve URL protocol lower casing Reviewed-by: dfuchs ------------- PR: https://git.openjdk.org/jdk/pull/10506
