RFR: 8347167: Implementation in com.sun.net.httpserver.Headers.normalize() can be improved [v2]

Josiah Noel duke at openjdk.org
Mon Nov 17 16:06:55 UTC 2025


> Following the direction outlined in the net-dev discussion, I've updated the `com.sun.net.httpserver.Headers.normalize()` method to no longer allocate a superfluous char array when the header is already normalized.

Josiah Noel has updated the pull request incrementally with one additional commit since the last revision:

  patch

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27276/files
  - new: https://git.openjdk.org/jdk/pull/27276/files/3ee11198..6b9eb4f0

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

  Stats: 177 lines in 3 files changed: 150 ins; 7 del; 20 mod
  Patch: https://git.openjdk.org/jdk/pull/27276.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27276/head:pull/27276

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


More information about the net-dev mailing list