Rahul Yadav
86722cb038
8239594: jdk.tls.client.protocols is not respected
...
8239595: ssl context version is not respected
The java.net.HttpClient is updated to no longer override any default selected protocols in the SSLContext, in the absence of any SSLParameters explicitly supplied to the HttpClient.builder.
Reviewed-by: chegar, dfuchs
2020-04-10 10:05:33 +01:00
Patrick Concannon
378aef32ab
8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
...
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl
Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Jaikiran Pai
59af1c2af4
8241138: http.nonProxyHosts=* causes StringIndexOutOfBoundsException in DefaultProxySelector
...
Reviewed-by: dfuchs, chegar
2020-03-24 15:47:51 +05:30
Daniel Fuchs
f541970b31
8241786: Improve heuristic to determine default network interface on macOS
...
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.
Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Chris Hegarty
9a69bb807b
8242044: Add basic HTTP/1.1 support to the HTTP/2 Test Server
...
Reviewed-by: dfuchs, michaelm
2020-04-03 07:27:53 +01:00
Chris Hegarty
61940fe4ce
8241988: DatagramSocket incorrectly caches the first set of socket options
...
Reviewed-by: msheppar, dfuchs, alanb
2020-04-03 07:16:35 +01:00
Daniel Fuchs
5ddbcb7a51
8241336: Some java.net tests failed with NoRouteToHostException on MacOS with special network configuration
...
NetworkConfiguration updated to skip interfaces that have only IPv6 link local addresses.
Reviewed-by: alanb, chegar
2020-03-27 12:42:03 +00:00
Julia Boes
eb7c80a308
8241674: Fix incorrect jtreg option in FilePublisherPermsTest
...
Replace jtreg option 'policy' with 'java.security.policy' to extend rather than replace policy
Reviewed-by: chegar, dfuchs
2020-03-26 14:58:53 +00:00
Julia Boes
d882d528bb
8235459: HttpRequest.BodyPublishers::ofFile assumes the default file system
...
Add support for non-default file systems to HttpRequest.BodyPublishers::ofFile
Reviewed-by: chegar, dfuchs, amlu
2020-03-26 11:52:15 +00:00
Rahul Yadav
c5a7490809
8240921: Minor correction to HttpResponse.BodySubscribers example
...
The fix updates the incorrect example of the usage of the class java.net.http.HttpResponse.BodySubscribers.
Reviewed-by: chegar, dfuchs, jboes, pconcannon
2020-03-20 20:16:34 +00:00
Daniel Fuchs
58337b12f8
8059309: network tests fail with "java.net.SocketException: Couldn't obtain phys addr" when run as "root"
...
The solaris specific code is changed to use the fallback mechanism if the DLPI interface returns an error indicating that the operation is unsupported. In addition, NetworkInterface::getHardwareAddress is changed to always return null for the loopback interface.
Reviewed-by: alanb
2020-03-12 18:31:49 +00:00
Patrick Concannon
0ed44d0aee
8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
...
Updates DatagramChannel so that the SO_SNDBUF is set to a minimum value of 65527 for IPv6 sockets and 65507 for IPv4 sockets on macOS.
Reviewed-by: alanb, dfuchs
2020-03-12 17:08:09 +00:00
John Jiang
edaf548beb
8238740: java/net/httpclient/whitebox/FlowTestDriver.java would not specify a TLS protocol
...
Reviewed-by: dfuchs
2020-03-10 21:43:46 +08:00
Daniel Fuchs
5c8f935641
8240754: Instrument FlowTest.java to provide more debug traces
...
Reviewed-by: chegar
2020-03-09 17:48:40 +00:00
Ravi Reddy
b2f1f73e75
8183369: RFC unconformity of HttpURLConnection with proxy
...
HttpURLConnection retried with proxy if the connection fails on first attempt as per RFC
Reviewed-by: chegar, dfuchs, vtewari
2020-03-05 03:27:17 -05:00
Daniel Fuchs
f7c819a72d
8239052: java/net/httpclient/whitebox/SSLEchoTubeTestDriver.java failed with BufferUnderflowException against TLSv1.3
...
The test assumed that ByteBuffer would be split at long boundaries. This is obviously not always the case. A carry has been added to support reading a long split over several buffers.
Reviewed-by: chegar
2020-02-24 17:19:32 +00:00
Daniel Fuchs
f40220f578
8238990: java/net/httpclient/HandshakeFailureTest.java failed against TLSv1.3 on Windows
...
The SSLTube and SSLFlowDelegate are improved to wrap any non-SSL exception that occur during the handshake in an SSLHandshakeException.
Reviewed-by: chegar
2020-02-20 20:04:15 +00:00
John Jiang
446f59a26c
8234718: java/net/httpclient tests should cover TLSv1.3
...
Reviewed-by: dfuchs
2020-02-13 21:42:31 +08:00
John Jiang
fbca3fa710
8238677: java/net/httpclient/ssltest/CertificateTest.java should not specify TLS version
...
Reviewed-by: dfuchs
2020-02-11 08:36:02 +08:00
Patrick Concannon
00c40ae1e3
7021373: DatagramPacket exception conditions are not clear
...
Specification is clarified by adding or clarifying @throws clauses where required
Reviewed-by: alanb, chegar, darcy, dfuchs
2020-02-07 11:10:41 +00:00
Daniel Fuchs
b069da31e0
8238231: Custom DatagramSocketImpl's create method not called when with protected constructor
...
Allow the socket to be lazily created if not created by the constructor.
Reviewed-by: alanb
2020-02-04 18:35:37 +00:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -08:00
Patrick Concannon
d2cd7a5096
8237571: java/net/DatagramSocket/SendCheck.java is failing on Solaris
...
Commented out failing testcase as this is being tracked by JDK-8236852
Reviewed-by: dfuchs
2020-01-21 18:38:46 +00:00
Patrick Concannon
2f76772fa9
8236105: Behaviors of DatagramSocket/DatagramChannel::socket send methods are not always consistent
...
DatagramSocket and MulticastSocket changed to throw IllegalArgumentException if not connected and passed a packet containing a port out of range
Reviewed-by: chegar, dfuchs
2020-01-20 16:24:05 +00:00
Daniel Fuchs
c6da6681d4
8236859: WebSocket over authenticating proxy fails with NPE
...
This change fixes several issues with WebSocket and proxy authentication. The AuthenticationFilter is changed to support an authenticating server accessed through an authenticating proxy. MultiExchange is fixed to close the previous connection if a new connection is necessary to establish the websocket (websocket connections are not cached and must be closed in that case). WebSocket OpeningHandshake is fixed to close the connection (without creating the RawChannel) if the opening handshake doesn't result in 101 upgrade protocol.
Reviewed-by: prappo, chegar
2020-01-17 17:55:06 +00:00
Jesper Wilhelmsson
257a1bb854
Merge
2020-01-08 16:03:32 +01:00
Chris Hegarty
417672bc9d
8236441: Bound MulticastSocket fails when setting outbound interface on Windows
...
Reviewed-by: alanb
2019-12-23 09:17:00 +00:00
Daniel Fuchs
ad09813035
8233245: More adaptive sockets
...
Reviewed-by: chegar, igerasim, alanb, skoivu, rhalade
2019-12-09 20:33:15 +00:00
Ivan Gerasimov
6c16f55fde
8231785: Improved socket permissions
...
Reviewed-by: ahgross, chegar, mullan, rhalade
2019-10-23 17:03:07 -07:00
Kiran Sidhartha Ravikumar
a1b2e1042c
5064980: URI compareTo inconsistent with equals for mixed-case escape sequences
...
Reviewed-by: chegar, dfuchs
2019-12-17 16:06:27 +00:00
Daniel Fuchs
e16d4a45b0
8235925: java/net/Socket/HttpProxy.java fails on IPv4 only hosts and other small cleanups
...
HttpProxy test is fixed to take into account the possibility that the host may be configured with IPv4 only
Reviewed-by: chegar
2019-12-17 16:11:16 +01:00
Daniel Fuchs
7135b5dd9c
8235141: Specify the required standard socket options for the socket types in the java.net package
...
Reviewed-by: alanb, chegar
2019-12-10 13:22:52 +00:00
Patrick Concannon
22e26b2a81
8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
...
Fix adds multicast socket options to DatagramSocket
Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Julia Boes
07fc539a85
8232513: java/net/DatagramSocket/PortUnreachable.java still fails intermittently with BindException
...
Increase the number of bind retries and test repeats, best effort only
Reviewed-by: msheppar, dfuchs, vtewari
2019-12-09 12:46:12 +00:00
Michael McMahon
a2fad13ce2
8234823: java/net/Socket/Timeouts.java testcase testTimedConnect2() fails on Windows 10
...
Reviewed-by: alanb
2019-12-03 11:55:47 +00:00
Patrick Concannon
55da7d34c9
8233307: MulticastSocket getOption(IP_MULTICAST_IF) returns interface when not set
...
The MulticastSocket method getOption has been changed to conform to the behavior described in StandardSocketOptions.IP_MULTICAST_IF.
Reviewed-by: chegar, dfuchs
2019-11-28 16:49:52 +00:00
Patrick Concannon
b9c7a608d2
8233018: Add a new test to verify that DatagramSocket is not interruptible
...
Test added to check the interruptability of DatagramSocket, MulticastSocket and DatagramSocketAdaptor.
Reviewed-by: chegar, dfuchs
2019-11-27 16:01:34 +00:00
Daniel Fuchs
8333ea85fa
8233296: MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
...
MulticastSocket.getOption(StandardSocketOption.IP_MULTICAST_LOOP) now returns true if loopback mode is enabled, and MulticastSocket.setOption(StandardSocketOption.IP_MULTICAST_LOOP, true) enables loopback mode. No other behavioral changes.
Reviewed-by: alanb, chegar
2019-11-22 11:52:48 +00:00
Patrick Concannon
6a7f775347
8234083: DatagramSocket should report SO_BROADCAST as a supported option
...
DatagramSocket had a setBroadcast and getBroadcast setter/getter pair but curiously didn't report SO_BROADCAST as a supported option. Note: the source code changes were accidentally pushed with 8234103 so this changeset only has the test changes. The reviewers listed below had already reviewed the full (source+test) changes.
Reviewed-by: alanb, vtewari, chegar
2019-11-21 16:33:00 +00:00
Chris Hegarty
262d5f1790
8232101: (sctp) Add minimal sanity tests for SCTP
...
Reviewed-by: alanb
2019-11-21 12:14:26 +00:00
Daniel Fuchs
be18a54cb1
8233141: DatagramSocket.send doesn't specify exception thrown when no target address
...
DatagramSocket and MulticastSocket send methods are changed to throw IllegalArgumentException if no target address can be determined.
Reviewed-by: alanb
2019-11-18 16:48:05 +00:00
Patrick Concannon
78accb5602
8233989: Create an IPv4 version of java/net/MulticastSocket/SetLoopbackMode.java
...
This fix adds an IPv4 version of test SetLoopbackMode.java that calls SetLoopbackMode in IPv4 only mode, and runs only if IPv4 is enabled.
Reviewed-by: dfuchs
2019-11-14 11:04:57 +00:00
Patrick Concannon
11433529aa
8233860: AfterClose.java test incorrectly handles IP_MULTICAST_IF
...
Correction to invalid value used to ensure test fails as expected.
Reviewed-by: alanb, dfuchs, vtewari
2019-11-14 10:49:20 +00:00
Julia Boes
d948bfd584
8232853: AuthenticationFilter.Cache::remove may throw ConcurrentModificationException
...
Change implementation to use iterator instead of plain LinkedList
Reviewed-by: dfuchs, vtewari
2019-11-08 11:15:16 +00:00
Ivan Gerasimov
43368f8f9f
8233886: TEST_BUG jdk/java/net/CookieHandler/B6791927.java hit hardcoded expiration date
...
Reviewed-by: chegar, vtewari
2019-11-11 05:09:31 -08:00
Daniel Fuchs
eaba9fe23b
8233403: Improve verbosity of some httpclient tests
...
Improve the verbosity of some httpclient tests to help diagnosis of intermittent failures. Also fixes ShortRequestBody test.
Reviewed-by: chegar
2019-11-07 16:18:02 +00:00
Chris Hegarty
9f6af13f9d
8232367: Update the jdk/java/net/httpclient tests to RS TCK 1.0.3
...
Reviewed-by: dfuchs
2019-11-04 10:06:59 +00:00
Julia Boes
012dffcd27
8231632: HttpURLConnection::usingProxy could specify that it may lazily evaluate the fact
...
Modified method description to disambiguate when false is returned and altered implementation
Reviewed-by: dfuchs, chegar, vtewari
2019-11-01 12:57:01 +00:00
Daniel Fuchs
b3477399d0
8232625: HttpClient redirect policy should be more conservative
...
When enabled, HttpClient redirect is fixed to drop the body when the request method is changed, and to relay any redirection code it does not understand to the caller.
Reviewed-by: chegar
2019-10-23 15:54:39 +01:00
Julia Boes
f8440c33d2
8225499: InetSocketAddress::toString not friendly to IPv6 literal addresses
...
Enclose IPv6 literal in brackets and adjust string format for unresolved addresses
Reviewed-by: dfuchs, chegar
2019-10-17 08:56:06 +01:00
Ivan Gerasimov
31afddccae
8230407: SocketPermission and FilePermission action list allows leading comma
...
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Daniel Fuchs
ecde34ee35
8231449: HttpClient’s client ssl certificate authentication seems to be broken
...
SSLFlowDelegate.Reader and SubscriberWrapper are changed to better cooperate on when more demand should be requested from upstream. The issue encountered in this scenario was triggered by a large certificate which caused the SSLFlowDelegate to stop requesting data from upstream during the handshake although the engine handshake status was NEED_UNWRAP.
Reviewed-by: chegar
2019-10-16 14:50:53 +01:00
Patrick Concannon
dcceed10b6
8222829: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
...
Clarifies behaviour of setSoTimeout() method when given negative timeout value.
Reviewed-by: alanb, chegar, dfuchs
2019-10-08 15:03:20 +01:00
Daniel Fuchs
8e98ce54bf
8231506: Fix some instabilities in a few networking tests
...
Reviewed-by: alanb, chegar, msheppar
2019-10-01 12:10:33 +01:00
Daniel Fuchs
8578ab1c23
8231037: java/net/InetAddress/ptr/Lookup.java fails intermittently due to reverse lookup failed
...
The test is updated to verify whether reverse lookup is altogether possible.
Reviewed-by: chegar
2019-09-27 14:43:35 +01:00
Chris Hegarty
0b881387f2
8231504: Update networking tests to avoid implicit dependency on the system proxies
...
Reviewed-by: dfuchs
2019-09-27 09:55:35 +01:00
Patrick Concannon
11d43732bc
8217825: Verify @AfterTest is used correctly in WebSocket tests
...
Remove @AfterTest tags; added in explicit closing of resources e.g. httpServer, webSocket, etc
Reviewed-by: dfuchs, prappo
2019-09-23 16:53:16 +01:00
Daniel Fuchs
e9eaba3d53
8230858: Replace wildcard address with loopback or local host in tests - part 23
...
Add new traces for better diagnosis, refrain binding to the wildcard address when possible.
Reviewed-by: chegar, xuelei
2019-09-12 15:46:11 +01:00
Daniel Fuchs
10e4fd4b95
8230526: jdk.internal.net.http.PlainProxyConnection is never reused by HttpClient
...
Fixed the PlainProxyConnection lookup key.
Reviewed-by: chegar
2019-09-09 18:23:39 +01:00
Patrick Concannon
1f87cb017f
8230132: java/net/NetworkInterface/NetworkInterfaceRetrievalTests.java to skip Teredo Tunneling Pseudo-Interface
...
The test is updated to skip Teredo pseudo interfaces on windows.
Reviewed-by: michaelm, vtewari, aefimov
2019-09-09 16:13:43 +01:00
Daniel Fuchs
f71db3074c
8230435: Replace wildcard address with loopback or local host in tests - part 22
...
Fixes tests to use the loopback address whenever possible. It also fixes some safe publishing issues, or add diagnostics in some of the tests.
Reviewed-by: michaelm
2019-09-04 18:10:07 +01:00
Julia Boes
7b49c40ee9
8171405: java/net/URLConnection/ResendPostBody.java failed with "Error while cleaning up threads after test"
...
Test cleaned up to improve safe termination
Reviewed-by: michaelm, vtewari, dfuchs
2019-09-04 17:36:53 +01:00
Jaikiran Pai
6b2e444aa1
8223714: HTTPSetAuthenticatorTest could be made more resilient
...
HTTPTestServer (in the test infrastructure) will no longer stop accepting requests if a previous request processing failed
Reviewed-by: dfuchs
2019-08-30 17:22:55 +05:30
Patrick Concannon
aa5d8f64ee
8193596: java/net/DatagramPacket/ReuseBuf.java failed due to timeout
...
The test is changed to bind to InetAddress.getLocalHost() instead of binding to the wildcard.
Reviewed-by: alanb, dfuchs, msheppar
2019-08-30 12:44:52 +01:00
Jaikiran Pai
6fa4babbb2
8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
...
Catch the IAE thrown by ProxySelector.select and wrap it into a IOException
Reviewed-by: dfuchs
2019-08-28 20:05:43 +05:30
Jaikiran Pai
f8e6dcdd09
8230220: java/net/HttpURLConnection/HttpURLProxySelectionTest.java fails intermittently
...
Fix the test to use volatile on members which are accessed across threads
Reviewed-by: dfuchs
2019-08-27 16:17:40 +05:30
Matthias Baesken
313cb3ce76
8229706: java/net/MulticastSocket/NoLoopbackPackets.java fails on some AIX machines
...
Reviewed-by: chegar, clanger
2019-08-14 15:07:04 +02:00
Julia Boes
fb3b0ab1fb
8230000: some httpclients testng tests run zero test
...
Two tests needed to declared their test methods public, the last one was a simple abstract framework for subclasses and needed its @test keyword removed.
Reviewed-by: chegar, aefimov, dfuchs
2019-08-26 14:48:12 +01:00
Jaikiran Pai
1d67d474a5
8177648: getResponseCode() throws IllegalArgumentException caused by protocol error while following redirect
...
Reviewed-by: michaelm, chegar, dfuchs
2019-08-26 12:25:49 +01:00
Patrick Concannon
a9f92bec7f
8078219: Verify lack of @test tag in files in java/net test directory
...
Reviewed-by: alanb
2019-08-22 18:54:56 +01:00
Nick Gasson
84686488e8
8229912: [TESTBUG] java/net/Socks/SocksIPv6Test fails without IPv6
...
Reviewed-by: alanb, dfuchs
2019-08-22 10:53:48 +08:00
Patrick Concannon
c99c1f8d55
8229916: Delete redundant test java/net/Socket/reset/Test.java
...
Remove java/net/Socket/reset/Test.java which misses an @test tag and is obsoleted by java/net/Socket/ConnectionReset.java
Reviewed-by: alanb
2019-08-20 15:40:49 +01:00
Patrick Concannon
9f41d4d2f2
8229421: The logic of java/net/ipv6tests/TcpTest.java is flawed
...
The test is fixed to ignore rogue client connection. However it remains succeptible to intermittent failures due to the use of the wildcad address.
Reviewed-by: dfuchs
2019-08-20 11:15:23 +01:00
Daniel Fuchs
bd1521e1a6
8191169: java/net/Authenticator/B4769350.java failed intermittently
...
Fixed a race condition in AuthenticationInfo when serializeAuth=true
Reviewed-by: chegar, michaelm
2019-08-19 11:14:50 +01:00
Daniel Fuchs
77d09f0f14
8229486: Replace wildcard address with loopback or local host in tests - part 21
...
Reviewed-by: chegar
2019-08-15 12:58:27 +01:00
Daniel Fuchs
6d63995ada
8229348: java/net/DatagramSocket/UnreferencedDatagramSockets.java fails intermittently
...
The test was observed blocking on receive and is updated to avoid using the wildcard address
Reviewed-by: chegar, msheppar
2019-08-13 16:18:43 +01:00
Aleksei Efimov
b4a7fb856b
8228508: [TESTBUG] java/net/httpclient/SmokeTest.java fails on Windows7
...
Reviewed-by: dfuchs, chegar
2019-08-13 16:11:28 +01:00
Aleksei Efimov
4312f54e51
8225430: Replace wildcard address with loopback or local host in tests - part 14
...
Reviewed-by: dfuchs, chegar, vtewari
2019-08-08 21:58:11 +01:00
Patrick Concannon
9f7cbf60e4
8228970: AssertionError in ResponseSubscribers$HttpResponseInputStream
...
HttpResponseInputStream::read(byte[],int,int) now implements the same check than the InputStream::read(byte[],int,int).
Reviewed-by: prappo, chegar, dfuchs
2019-08-08 18:44:11 +01:00
Patrick Concannon
00395fe0d0
8227721: test/jdk/java/net/NetworkInterface/NetworkInterfaceRetrievalTests.java should open the java.net package
...
Reviewed-by: chegar, bpb, alanb
2019-07-24 13:08:36 +01:00
Xiaohong Gong
53635b436c
8227574: [TESTBUG] JTReg tests fail with Graal due to access denied
...
Reviewed-by: kvn
2019-07-15 03:14:28 +00:00
Daniel Fuchs
dc300483a7
8227539: Replace wildcard address with loopback or local host in tests - part 20
...
Update some tests to stop using the wildcard address.
Reviewed-by: michaelm
2019-07-10 22:33:23 +02:00
Patrick Concannon
76785af549
8226756: Replace wildcard address with loopback or local host in tests - part 18
...
Reviewed-by: dfuchs
2019-07-10 16:09:20 +01:00
Claes Redestad
7f1f9a50ae
8225239: Refactor NetworkInterface lookups
...
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02:00
Pavel Rappo
3395bb591b
8226602: Test convenience reactive primitives from java.net.http with RS TCK
...
Reviewed-by: chegar, dfuchs
2019-07-02 13:25:51 +01:00
Daniel Fuchs
2ad9f11d77
8226514: Replace wildcard address with loopback or local host in tests - part 14
...
Improve test stabilty by getting rid of the wildcard address whenever possible.
Reviewed-by: chegar, vtewari
2019-06-28 15:58:10 +01:00
Michael McMahon
faea44aec3
8222968: ByteArrayPublisher is not thread-safe resulting in broken re-use of HttpRequests
...
Reviewed-by: chegar, dfuchs
2019-06-28 11:26:07 +01:00
Julia Boes
c45f932cc5
8226825: Replace wildcard address with loopback or local host in tests - part 19
...
Replace use of wildcard by the loopback address, or possibly the local host address, wherever possible, to improve test stability.
Reviewed-by: chegar, bpb
2019-06-27 16:12:39 +01:00
Michael McMahon
54dfd47fa8
8226683: Remove review suggestion from fix to 8219804
...
Reviewed-by: chegar
2019-06-24 15:19:11 +01:00
Michael McMahon
eccfec498d
8219804: java/net/MulticastSocket/Promiscuous.java fails intermittently due to NumberFormatException
...
Reviewed-by: chegar, dfuchs
2019-06-24 15:10:44 +01:00
Pavel Rappo
b870874d22
Merge
2019-06-19 12:17:22 +01:00
Pavel Rappo
d49e648148
8226303: Examine the HttpRequest.BodyPublishers for exception handling
...
Reviewed-by: chegar
2019-06-18 14:12:06 +01:00
Chris Hegarty
d577d9c678
8226319: Add forgotten test/jdk/java/net/httpclient/BodySubscribersTest.java
...
Reviewed-by: dfuchs, prappo
2019-06-18 18:38:53 +01:00
Daniel Fuchs
5b21004fe0
8225578: Replace wildcard address with loopback or local host in tests - part 16
...
Fixes java/net/Authenticator and java/net/CookieHandler to stop depending on the wildcard address, wherever possible.
Reviewed-by: chegar
2019-06-17 20:03:34 +01:00
Jaikiran Pai
a92f0016f3
8217705: HttpClient - wrong exception type when bad status line is received
...
Throw a ProtocolException if the status code in the HTTP response's status line isn't a 3-digit integer
Reviewed-by: dfuchs
2019-06-14 10:19:04 +05:30
Michael McMahon
247a6a2ce4
8216417: cleanup of IPv6 scope-id handling
...
Reviewed-by: alanb, chegar, dfuchs
2019-06-13 09:10:51 +01:00
Daniel Fuchs
96bb069a2d
8224865: Replace wildcard address with loopback or local host in tests - part 13
...
Fixes intermittent failures observed in some network tests
Reviewed-by: chegar
2019-06-10 11:17:57 +01:00
Chris Hegarty
2edcc74725
8225424: Add jdk.net.usePlainSocketImpl runs to a couple of tests
...
Reviewed-by: alanb
2019-06-07 11:47:49 +01:00
Chris Hegarty
cc353da44d
8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
...
Reviewed-by: coffeys, vtewari
2019-06-05 13:59:44 +01:00
Chris Hegarty
9fbdec42c4
8225214: Socket.getOption(SocketOption) not returning the expected type for the StandardSocketOptions.SO_LINGER
...
Reviewed-by: alanb
2019-06-05 12:02:01 +01:00