Commit Graph

528 Commits

Author SHA1 Message Date
Volkan Yazıcı
25dd51e4fc 8344222: Remove calls to SecurityManager and doPrivileged in java.net.HttpURLConnection, java.net.HttpConnectSocketImpl, and javax.net.HttpsURLConnection after JEP 486 integration
Reviewed-by: dfuchs, jpai
2024-11-26 09:35:31 +00:00
Daniel Fuchs
a07b72bfcf 8344346: java/net/httpclient/ShutdownNow.java fails with java.lang.AssertionError: client was still running, but exited after further delay: timeout should be adjusted
Reviewed-by: jpai
2024-11-22 09:55:07 +00:00
Jaikiran Pai
a91d4c022f 8344233: Remove calls to SecurityManager and doPrivileged in java.net.ProxySelector and sun.net.spi.DefaultProxySelector after JEP 486 integration
Reviewed-by: dfuchs
2024-11-16 11:39:20 +00:00
Volkan Yazıcı
59ffac84d3 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
Reviewed-by: dfuchs
2024-11-15 19:56:48 +00:00
Daniel Fuchs
40a055ebd2 8344228: Revisit SecurityManager usage in java.net.http after JEP 486 integration
Reviewed-by: jpai
2024-11-15 15:05:33 +00:00
Jaikiran Pai
752e162955 8343877: Test AsyncClose.java intermittent fails - Socket.getInputStream().read() wasn't preempted
Reviewed-by: dfuchs, msheppar, syan, alanb
2024-11-14 14:46:19 +00:00
Daniel Fuchs
bd6152f596 8343855: HTTP/2 ConnectionWindowUpdateSender may miss some unprocessed DataFrames from closed streams
Reviewed-by: jpai
2024-11-14 08:54:47 +00:00
Sean Mullan
db85090553 8338411: Implement JEP 486: Permanently Disable the Security Manager
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Daniel Jeliński
72f67fb16a 8343411: Test fail on Windows due to "An established connection was aborted by the software in your host machine"
Reviewed-by: dfuchs, jpai
2024-11-08 15:03:17 +00:00
Matthias Baesken
06d8216a4e 8318442: java/net/httpclient/ManyRequests2.java fails intermittently on Linux
Reviewed-by: mdoerr, lucy, dfuchs
2024-11-06 08:03:26 +00:00
Daniel Fuchs
b0ac633b2d 8342075: HttpClient: improve HTTP/2 flow control checks
Reviewed-by: jpai
2024-10-24 12:24:14 +00:00
Michael McMahon
01b681c80d 8326949: Authorization header is removed when a proxy Authenticator is set on HttpClient
Reviewed-by: dfuchs, jpai, djelinski
2024-10-22 14:09:10 +00:00
Daniel Fuchs
03bc6b359f 8328286: Enhance HTTP client
Reviewed-by: aefimov, michaelm
2024-10-15 17:04:27 +05:30
Daniel Fuchs
ba3774dc5d 8341637: java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
Reviewed-by: jpai
2024-10-14 12:29:06 +00:00
Justin Lu
2e5b420f81 8340326: Remove references to Applet in core-libs/security tests
Reviewed-by: prr, naoto, dfuchs
2024-10-04 17:34:08 +00:00
Serhiy Sachkov
cecb0b3d11 8339787: Add some additional diagnostic output to java/net/ipv6tests/UdpTest.java
Reviewed-by: dfuchs
2024-09-19 12:08:31 +00:00
Serhiy Sachkov
118c9ade1a 8338759: Add extra diagnostic to java/net/InetAddress/ptr/Lookup.java
Reviewed-by: dfuchs, shade
2024-09-19 08:39:11 +00:00
Daniel Fuchs
4ca2c208ea 8338740: java/net/httpclient/HttpsTunnelAuthTest.java fails with java.io.IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: djelinski, jpai
2024-09-03 13:32:50 +00:00
Daniel Fuchs
b1163bcc88 8256211: assert fired in java/net/httpclient/DependentPromiseActionsTest (infrequent)
Reviewed-by: jpai
2024-09-02 14:52:04 +00:00
Daniel Fuchs
723588a4e7 8338569: HTTP/1.1 CleanupTrigger may be triggerred after the next exchange started
Reviewed-by: jpai
2024-08-29 08:54:02 +00:00
Jaikiran Pai
2e174c6367 8338445: jdk.internal.loader.URLClassPath may leak JarFile instance when dealing with unexpected Class-Path entry in manifest
Reviewed-by: michaelm, cstein, alanb
2024-08-28 09:29:18 +00:00
Darragh Clarke
01d03e07c7 8324209: Check implementation of Expect: 100-continue in the java.net.http.HttpClient
Reviewed-by: dfuchs, jpai
2024-08-20 11:10:18 +00:00
Daniel Fuchs
ddbc0b6a39 8338495: Revert "8336655: java/net/httpclient/DigestEchoClient.java IOException: HTTP/1.1 header parser received no bytes"
Reviewed-by: jpai
2024-08-16 11:24:40 +00:00
Daniel Fuchs
6169613d9f 8336655: java/net/httpclient/DigestEchoClient.java IOException: HTTP/1.1 header parser received no bytes
Reviewed-by: jpai
2024-08-15 15:34:08 +00:00
Jaikiran Pai
720b44648b 8335181: Incorrect handling of HTTP/2 GOAWAY frames in HttpClient
Reviewed-by: dfuchs
2024-08-14 05:42:14 +00:00
Jaikiran Pai
04e8cb8641 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
2024-07-24 15:43:53 +00:00
Daniel Jeliński
b6ffb442ac 8335135: HttpURLConnection#HttpInputStream does not throw IOException when response is truncated
Reviewed-by: dfuchs
2024-06-27 15:14:36 +00:00
Daniel Fuchs
f23295ec1d 8334600: TEST java/net/MulticastSocket/IPMulticastIF.java fails on linux-aarch64
Reviewed-by: alanb
2024-06-26 10:09:05 +00:00
Daniel Fuchs
81083a0e10 8299487: Test java/net/httpclient/whitebox/SSLTubeTestDriver.java timed out
Reviewed-by: jpai
2024-06-12 11:29:58 +00:00
Daniel Fuchs
81ca0ece2e 8334028: HttpClient: NPE thrown from assert statement
Reviewed-by: jpai
2024-06-12 10:53:08 +00:00
Daniel Fuchs
ec1664e8c9 8333804: java/net/httpclient/ForbiddenHeadTest.java threw an exception with 0 failures
Reviewed-by: jpai
2024-06-10 12:44:36 +00:00
Sergey Chernyshev
c2180d141c 8315767: InetAddress: constructing objects from BSD literal addresses
Reviewed-by: dfuchs, aefimov, michaelm, jpai
2024-05-23 06:12:45 +00:00
robertengels
02c95a6d7e 6968351: httpserver clashes with delayed TCP ACKs for low Content-Length
Reviewed-by: dfuchs, djelinski, michaelm, jpai
2024-05-07 13:18:24 +00:00
Jaikiran Pai
2056968777 8331513: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dfuchs
2024-05-02 10:46:41 +00:00
Daniel Jeliński
e4ed7ced75 8331063: Some HttpClient tests don't report leaks
Reviewed-by: dfuchs, vtewari, michaelm
2024-04-26 11:01:46 +00:00
Jaikiran Pai
4a11db8b60 8329662: Add a test to verify the behaviour of the default HEAD() method on HttpRequest.Builder
Reviewed-by: dfuchs
2024-04-05 13:30:22 +00:00
Daniel Fuchs
da4dd7c008 8327989: java/net/httpclient/ManyRequest.java should not use "localhost" in URIs
Reviewed-by: jpai, djelinski, gli
2024-03-13 11:22:40 +00:00
Jaikiran Pai
36246c975b 8326233: Utils#copySSLParameters loses needClientAuth Setting
Reviewed-by: djelinski, jjiang, dfuchs
2024-02-21 01:26:21 +00:00
Darragh Clarke
9538f5d317 8319651: Several network tests ignore vm flags when start java process
Reviewed-by: dfuchs, jpai
2024-02-20 16:00:09 +00:00
Daniel Jeliński
95310eab6c 8223696: java/net/httpclient/MaxStreams.java failed with didn't finish within the time-out
Reviewed-by: dfuchs
2024-01-25 22:01:18 +00:00
Darragh Clarke
fbaaac63d4 8314164: java/net/HttpURLConnection/HttpURLConnectionExpectContinueTest.java fails intermittently in timeout
Reviewed-by: dfuchs, djelinski
2024-01-23 14:07:17 +00:00
Jaikiran Pai
f577385fc8 8316738: java/net/httpclient/HttpClientLocalAddrTest.java failed in timeout
Reviewed-by: dfuchs
2023-12-08 10:21:07 +00:00
Mark Sheppard
0048f1da4c 8263256: Test java/net/Inet6Address/serialize/Inet6AddressSerializationTest.java fails due to dynamic reconfigurations of network interface during test
Reviewed-by: jpai
2023-12-07 11:27:42 +00:00
Conor Cleary
bddcd086b7 8304701: Request with timeout aborts later in-flight request on HTTP/1.1 cxn
Reviewed-by: dfuchs, michaelm
2023-11-27 08:09:10 +00:00
Alan Bateman
21a59b9f4e 8282726: java/net/vthread/BlockingSocketOps.java timeout/hang intermittently on Windows
Reviewed-by: djelinski
2023-11-21 14:05:32 +00:00
Jaikiran Pai
099a8f5b2f 8308144: Uncontrolled memory consumption in SSLFlowDelegate.Reader
Co-authored-by: Sergey Zhuravlev <sergey.zhuravlev@gmail.com>
Reviewed-by: dfuchs, djelinski
2023-11-21 06:10:47 +00:00
Alan Bateman
c099cf53f2 8318422: Allow poller threads be virtual threads
Reviewed-by: michaelm
2023-11-04 06:52:19 +00:00
Conor Cleary
3a7525d5c3 8309118: HttpClient: Add more tests for 100 ExpectContinue with HTTP/2
Reviewed-by: dfuchs, djelinski
2023-10-31 14:45:14 +00:00
Aleksei Efimov
77fe0fd9e6 8272215: Add InetAddress methods for parsing IP address literals
Reviewed-by: dfuchs, michaelm
2023-10-26 18:24:42 +00:00
Daniel Jeliński
970cd20204 8318788: java/net/Socks/SocksSocketProxySelectorTest.java fails on machines with no IPv6 link-local addresses
Reviewed-by: jpai, dfuchs, mbaesken
2023-10-26 08:49:50 +00:00