RFR: 8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST [v3]

Evan Whelan ewhelan at openjdk.java.net
Fri Oct 15 14:47:23 UTC 2021


On Fri, 15 Oct 2021 09:36:06 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:

>> Evan Whelan has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Extracted both connectTimeouts to variables and added copyright header to accessor
>>  - Removed reflection in favour of injected accessor for KeepAliveCache
>
> test/jdk/sun/net/www/http/KeepAliveCache/RequestMethodEquality.java line 32:
> 
>> 30:  * @modules java.base/sun.net.www.http:+open
>> 31:  *          java.base/sun.net.www.protocol.http
>> 32:  * @run testng RequestMethodEquality
> 
> This test modifies some static fields in HttpClient so should run in /othervm

Fixed thanks!

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

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


More information about the net-dev mailing list