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

Josiah Noel duke at openjdk.org
Wed Nov 19 14:09:09 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 2

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

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

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

  Stats: 89 lines in 3 files changed: 84 ins; 0 del; 5 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