RFR: 8263506: Make sun.net.httpserver.UnmodifiableHeaders unmodifiable [v5]

Julia Boes jboes at openjdk.java.net
Wed Apr 7 13:28:32 UTC 2021


> The fix makes the map in sun.net.httpserver.UnmodifiableHeaders unmodifiable by wrapping it in an unmodifiable view.

Julia Boes has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 12 additional commits since the last revision:

 - Merge branch 'master' into 8263506
 - fix get method and constructor, add tests
 - Account for null values and change type in constructor
 - Merge branch 'master' into 8263506
 - Merge branch 'master' into 8263506
 - move constructor call in ExchangeImpl and fix indentation
 - wrap List<String> with unmodifiable map and update test
 - remove map wrapping
 - fix imports
 - Merge branch 'master' into 8263506
 - ... and 2 more: https://git.openjdk.java.net/jdk/compare/0e53c3d5...4f2247fc

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3032/files
  - new: https://git.openjdk.java.net/jdk/pull/3032/files/ee8da732..4f2247fc

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3032&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3032&range=03-04

  Stats: 16876 lines in 229 files changed: 13190 ins; 2440 del; 1246 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3032.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3032/head:pull/3032

PR: https://git.openjdk.java.net/jdk/pull/3032


More information about the net-dev mailing list