RFR: 8263506: Make sun.net.httpserver.UnmodifiableHeaders unmodifiable

Julia Boes jboes at openjdk.java.net
Mon Mar 22 15:32:48 UTC 2021


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

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

Commit messages:
 - fix imports
 - Merge branch 'master' into 8263506
 - fix UnmodifiableHeaders impl
 - add initial test

Changes: https://git.openjdk.java.net/jdk/pull/3032/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3032&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263506
  Stats: 146 lines in 2 files changed: 136 ins; 1 del; 9 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