> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10506/files
  - new: https://git.openjdk.org/jdk/pull/10506/files/9b7ca578..0cf06bb6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10506&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10506&range=00-01

  Stats: 52 lines in 3 files changed: 23 ins; 22 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/10506.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10506/head:pull/10506

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

Reply via email to