[8u] RFR: 8270290: NTLM authentication fails if HEAD request is used

Alex Kashchenko akashche at redhat.com
Tue Jan 11 13:31:34 UTC 2022


Hi,

Please review a backport of JDK-8270290 to 8u:

Bug: https://bugs.openjdk.java.net/browse/JDK-8270290

11u commit: https://github.com/openjdk/jdk11u-dev/commit/242bbefec901cee2da17a1a2b9b8485b8937ed00

8u webrev: https://cr.openjdk.java.net/~akasko/jdk8u/8270290/webrev.00/

Code change in 8u is the same, test has required minor adjustments:

1. paths changed

2. @library changed from "/test/lib" to
"../../../../../lib/testlibrary" (used this way in other www/http
tests)

3. stream.readAllBytes() changed to Utils.readAllBytes(stream)

Testing: checked that added test fails without the patch and passes
with the patch, ran jtreg:sun/net/www/protocol/http

-- 
-Alex



More information about the jdk8u-dev mailing list