Daniel Jeliński
eda0065107
8304286: java/net/SocketOption/OptionsTest.java failing after JDK-8302659
...
Reviewed-by: dfuchs
2023-03-22 08:42:39 +00:00
Daniel Jeliński
1ae69e3e91
8304287: Problemlist java/net/SocketOption/OptionsTest.java
...
Reviewed-by: dfuchs
2023-03-15 20:51:22 +00:00
Rich DiCroce
35a2969057
8302659: Modernize Windows native code for NetworkInterface
...
Reviewed-by: ihse, djelinski, alanb, michaelm
2023-03-15 17:06:32 +00:00
Michael McMahon
67755edd6f
8284890: Support for Do not fragment IP socket options
...
Reviewed-by: erikj, ihse, dfuchs
2022-04-26 13:49:58 +00:00
Patrick Concannon
1578979df7
8269917: Insert missing commas in copyrights in java.net
...
Reviewed-by: chegar, dfuchs
2021-07-06 15:10:58 +00:00
Patrick Concannon
326b2e1344
8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
...
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +00:00
Patrick Concannon
5b6f050fce
8245828: Remove unnecessary NetworkPermission checks from jdk/net/ExtendedSocketOptions.java
...
This fix removes NetworkPermission checks that were made redundant in jdk/net/ExtendedSocketOptions after the socket option SO_FLOW_SLA was removed.
Reviewed-by: alanb
2020-06-09 15:39:22 +01:00
Patrick Concannon
d071ed0294
8244582: Remove terminally deprecated Solaris-specific SO_FLOW_SLA socket option
...
This patch removes ExtendedSocketOptions.SO_FLOW_SLA, SocketFlow and SocketFlow.Status which were terminally deprecated in JDK 14 in preparation for the removal of the Solaris port.
Reviewed-by: alanb, dfuchs, chegar, vtewari
2020-06-05 09:35:42 +01:00
Vladimir A Ivanov
4aa057013c
8245517: java/net/SocketOption/AfterClose.java fails with Invalid value 'READ_ONLY'
...
Reviewed-by: dfuchs, pconcannon
2020-05-22 10:25:40 -07:00
Vladimir A Ivanov
93fcbec20a
8243099: SO_INCOMING_NAPI_ID support
...
Add support for the SO_INCOMING_NAPI_ID socket option to jdk.net.ExtendedSocketOptions
Co-authored-by: Dinesh Kumar <dinesh.kumar@intel.com>
Reviewed-by: alanb, chegar, dfuchs, vtewari, pconcannon
2020-05-20 15:12:28 -07:00
Patrick Concannon
fad2cf51ba
8241072: Reimplement the Legacy DatagramSocket API
...
Replace the underlying implementations of the java.net.DatagramSocket and java.net.MulticastSocket APIs with simpler and more modern implementations that are easy to maintain and debug.
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: alanb, chegar, dfuchs
2020-05-12 21:51: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
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