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
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
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
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
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
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
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
Alan Bateman
7e14aeb133
8221481: Reimplement the Legacy Socket API
...
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01: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
Arthur Eubanks
eff53ce5e9
8223652: Rename IPSupport.skipIfCurrentConfigurationIsInvalid() to IPSupport.throwSkippedExceptionIfNonOperational()
...
Reviewed-by: dfuchs, chegar
2019-05-09 10:28:29 -07: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
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
Arthur Eubanks
ef9ce3be1e
8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
...
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.
Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08:00
Vyom Tewari
6a48db9cf6
8194298: Add support for per Socket configuration of TCP keepalive
...
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Ivan Gerasimov
3d160a80fc
8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
...
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Vladimir Kozlov
c11f132abe
8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
...
Skip tests which use --limit-modules when Graal is used as JIT compiler.
Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08:00
Vyom Tewari
d55fdd6c56
8190843: can not set/get extendedOptions to ServerSocket
...
Reviewed-by: chegar, rriggs
2017-12-04 13:24:00 +05:30
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00