From 2760eed00be81f9efb5c55ff58bb9759e647f3f9 Mon Sep 17 00:00:00 2001 From: Michael McMahon Date: Sun, 3 Nov 2024 17:43:46 +0000 Subject: [PATCH] 8343433: Update net.properties and java.net.http module-info.java after 8326949 Reviewed-by: dfuchs, jpai (cherry picked from commit bd107d24bc7ffc09e46c1cb3ee2a409aa7a6c76a) --- src/java.base/share/conf/net.properties | 4 +--- src/java.net.http/share/classes/module-info.java | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/java.base/share/conf/net.properties b/src/java.base/share/conf/net.properties index 2aa9a9630bed..9245226e1664 100644 --- a/src/java.base/share/conf/net.properties +++ b/src/java.base/share/conf/net.properties @@ -104,9 +104,7 @@ jdk.http.auth.tunneling.disabledSchemes=Basic # to be used in real deployments. Protocol errors or other undefined behavior is likely # to occur when using them. The property is not set by default. # Note also, that there may be other headers that are restricted from being set -# depending on the context. This includes the "Authorization" header when the -# relevant HttpClient has an authenticator set. These restrictions cannot be -# overridden by this property. +# depending on the context. These restrictions cannot be overridden by this property. # # jdk.httpclient.allowRestrictedHeaders=host # diff --git a/src/java.net.http/share/classes/module-info.java b/src/java.net.http/share/classes/module-info.java index 5303e818866b..df0c6fe20f87 100644 --- a/src/java.net.http/share/classes/module-info.java +++ b/src/java.net.http/share/classes/module-info.java @@ -45,9 +45,7 @@ * and whitespace is ignored. Note that this property is intended for testing and not for * real-world deployments. Protocol errors or other undefined behavior are likely to occur * when using this property. There may be other headers that are restricted from being set - * depending on the context. This includes the "Authorization" header when the relevant - * HttpClient has an authenticator set. These restrictions cannot be overridden by this - * property. + * depending on the context. These restrictions cannot be overridden by this property. * *
  • {@systemProperty jdk.httpclient.bufsize} (default: 16384 bytes or 16 kB)
    * The size to use for internal allocated buffers in bytes.