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
Arno Zeller
bb2e4df367
8194231: java/net/DatagramSocket/ReuseAddressTest.java failed with java.net.BindException: Address already in use: Cannot bind
...
Changed test to no longer use hardcoded ports.
Reviewed-by: chegar, clanger
2019-05-28 20:12:16 +02:00
Chris Hegarty
53b022d9eb
8224973: URLStreamHandler.openConnection(URL,Proxy) - spec and implementation mismatch
...
Reviewed-by: alanb, dfuchs
2019-05-31 15:02:45 +01:00
Chris Hegarty
3ab3ffd29f
8224730: java.net.ServerSocket::toString not invoking checkConnect
...
Reviewed-by: alanb
2019-05-30 12:36:04 +01:00
Alan Bateman
7e14aeb133
8221481: Reimplement the Legacy Socket API
...
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01:00
Arthur Eubanks
acad8d1d68
8224081: SOCKS v4 doesn't work with IPv6
...
Reviewed-by: chegar, dfuchs, mullan, vtewari
2019-05-16 15:58:15 -07:00
Chris Hegarty
bc24d17e80
8224477: java.net socket types new-style socket option methods - spec and impl mismatch
...
Reviewed-by: alanb
2019-05-29 13:58:05 +01:00
Daniel Fuchs
5461726dcc
8224761: Replace wildcard address with loopback or local host in tests - part 12
...
Fixes a batch of intermittent failures.
Reviewed-by: chegar, vtewari
2019-05-27 19:24:42 +01:00
Aleksei Efimov
57d319210a
8224035: Replace wildcard address with loopback or local host in tests - part 9
...
Reviewed-by: dfuchs
2019-05-27 13:29:11 +01:00
Daniel Fuchs
ee040e4be2
8224603: Replace wildcard address with loopback or local host in tests - part 11
...
Fixes a batch of tests that were observed failing intermittently.
Reviewed-by: chegar, vtewari
2019-05-24 15:34:14 +01:00
Arthur Eubanks
f65e76fef0
8224248: test/jdk/java/net/InetAddress/CheckJNI.java assumes 127.0.0.1 is available
...
Reviewed-by: dfuchs, chegar
2019-05-20 14:19:19 -07:00
Arthur Eubanks
905330d4ea
8224014: Don't run test/jdk/java/net/NetworkInterface/IPv4Only.java in IPv6 only environment
...
Reviewed-by: chegar, dfuchs
2019-05-15 16:21:51 -07:00
Daniel Fuchs
cd9e3c1b13
8223856: Replace wildcard address with loopback or local host in tests - part 8
...
Fixes some intermittent test failures by replacing wildcard with loopback - or retrying once.
Reviewed-by: aefimov, chegar
2019-05-20 12:37:40 +01:00
Arthur Eubanks
244bdce994
8224018: test/jdk/java/net/ipv6tests/{Tcp,Udp}Test.java assume IPv4 is available
...
Reviewed-by: dfuchs, chegar
2019-05-15 17:13:57 -07:00
Aleksei Efimov
c9cdfad6ff
8223798: Replace wildcard address with loopback or local host in tests - part 7
...
Reviewed-by: dfuchs, vtewari
2019-05-15 19:47:28 +01:00
Arthur Eubanks
23301277c5
8223737: Fix HostsFileNameService for IPv6 literal addresses
...
Reviewed-by: chegar, msheppar
2019-05-10 17:13:02 -07:00
Aleksei Efimov
64b8734964
8223638: Replace wildcard address with loopback or local host in tests - part 6
...
Reviewed-by: dfuchs
2019-05-14 13:34:49 +01:00
Daniel Fuchs
3103d346a7
8223632: Replace wildcard address with loopback or local host in tests - part 5
...
Replaces wildcard usage by loopback, when possible, adds intermittent keyword and a comment, when not.
Reviewed-by: chegar
2019-05-13 17:31:23 +01:00
Arthur Eubanks
eff53ce5e9
8223652: Rename IPSupport.skipIfCurrentConfigurationIsInvalid() to IPSupport.throwSkippedExceptionIfNonOperational()
...
Reviewed-by: dfuchs, chegar
2019-05-09 10:28:29 -07:00
Aleksei Efimov
6ecf7ffbb1
8223465: Replace wildcard address with loopback or local host in tests - part 3
...
Reviewed-by: dfuchs
2019-05-10 15:34:17 +01:00
Daniel Fuchs
205fd87f2d
8223573: Replace wildcard address with loopback or local host in tests - part 4
...
Makes a few intermittently failing tests more resilient to port reuse issues by ensuring they bind to the loopback address instead of the wildcard.
Reviewed-by: alanb, chegar
2019-05-09 14:23:52 +01:00
Arthur Eubanks
0bb6328356
8220673: Add test library support for determining platform IP support
...
Reviewed-by: dfuchs, chegar
2019-04-16 13:06:23 -07:00
Daniel Fuchs
1188188ee6
8223463: Replace wildcard address with loopback or local host in tests - part 2
...
Removes (or documents) some usages of the wildcard address in intermittently failing tests.
Reviewed-by: alanb
2019-05-07 18:10:59 +01:00
Michael McMahon
7e142d54bf
8223457: java.net.ServerSocket protected constructor should throw NPE if impl null
...
Reviewed-by: dfuchs
2019-05-07 15:39:33 +01:00
Sean Coffey
a712b37bd0
8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
...
Reviewed-by: redestad
2019-05-02 22:52:51 +01:00
Michael McMahon
70ea5ab6e1
8216978: Drop support for pre JDK 1.4 SocketImpl implementations
...
Reviewed-by: chegar, alanb, dfuchs
2019-05-02 17:29:10 +01:00
Daniel Fuchs
7d4520c109
8223145: Replace wildcard address with loopback or local host in tests - part 1
...
Replaces binding to wildacard with alternative less susceptible to intermittent failure in some intermittently failing tests.
Reviewed-by: chegar, msheppar
2019-05-02 11:55:16 +01:00
Daniel Fuchs
72467d916c
8129315: java/net/Socket/LingerTest.java and java/net/Socket/ShutdownBoth.java timeout intermittently
...
Tests are updated to use the loopback address instead of the wildcard to avoid traffic being routed to a different server than what was intended by the test.
Reviewed-by: chegar
2019-04-26 16:25:43 +01:00
Daniel Fuchs
853da81cfe
8222527: HttpClient doesn't send HOST header when tunelling HTTP/1.1 through http proxy
...
HttpClient no longer filters out system host header when sending tunelling CONNECT request to proxy
Reviewed-by: michaelm
2019-04-18 17:56:46 +01:00
Daniel Fuchs
47b9d898ab
8221395: HttpClient leaving connections in CLOSE_WAIT state until Java process ends
...
When a non WebSocket connection is not returned to the pool, it needs to be closed even if HttpConnection::isOpen yields false.
Reviewed-by: chegar, michaelm
2019-03-28 12:16:36 +00:00
Arthur Eubanks
0c2b7c4fc3
8220575: Replace hardcoded 127.0.0.1 in URLs with new URI builder
...
Reviewed-by: dfuchs, chegar
2019-03-27 09:06:43 -07:00
Chris Hegarty
1933437f12
8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
...
Reviewed-by: alanb, dfuchs
2019-03-26 17:02:11 +00:00
Alan Bateman
fd14375ae2
8221259: New tests for java.net.Socket to exercise long standing behavior
...
Reviewed-by: chegar
2019-03-21 17:38:41 +00:00