Mark Sheppard
bb085f684d
8265362: java/net/Socket/UdpSocket.java fails with "java.net.BindException: Address already in use" (macos-aarch64)
...
Reviewed-by: dfuchs, alanb
2021-05-24 17:59:39 +00:00
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Vyom Tewari
955aee3bfa
8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly
...
PlainSocketImpl.socketAccept() handles EINTR incorrectly
Reviewed-by: alanb, dfuchs, martin
2020-07-17 11:15:00 +05:30
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -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
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
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
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
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
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
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
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
Alan Bateman
7e14aeb133
8221481: Reimplement the Legacy Socket API
...
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +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
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
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
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
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
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
Chris Hegarty
5ee0711360
8220663: Incorrect handling of IPv6 addresses in Socket(Proxy.HTTP)
...
Reviewed-by: alanb, michaelm
2019-03-19 14:27:50 +00: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
Christoph Langer
f828beb2d0
8217657: Move the test for default value of jdk.includeInExceptions into own test
...
Reviewed-by: mullan, goetz
2019-01-25 10:59:07 +00:00
Chris Yin
fb6de4b0b6
8129310: java/net/Socket/asyncClose/AsyncClose.java fails intermittently
...
Reviewed-by: dfuchs
2018-11-20 09:59:58 +08:00
Vyom Tewari
3bafe65a75
8212114: Reconsider the affect on closed streams resulting from 8189366
...
Reviewed-by: chegar, dfuchs
2018-10-22 15:20:43 +05:30
Vyom Tewari
f4df5cb4c3
8189366: SocketInputStream.available() should check for eof
...
Reviewed-by: chegar
2018-10-12 12:37:13 +05:30
Chris Hegarty
0cb267ad1c
8211325
: test/jdk/java/net/Socket/LingerTest.java fails with cleaning up
...
Reviewed-by: dfuchs
2018-10-02 09:05:07 +01:00
Sean Mullan
ac3d4a6722
8208691: Tighten up jdk.includeInExceptions security property
...
Add stronger warning on usage and add test to check that property is not set
Reviewed-by: alanb, rriggs
2018-08-07 10:29:01 -04:00
Chris Hegarty
1b1355c222
8207846: Generalize the jdk.net.includeInExceptions security property
...
Reviewed-by: alanb, michaelm, rriggs, mullan
2018-07-25 10:08:39 +01:00
Michael McMahon
1d79d38007
8204233: Add configurable option for enhanced socket IOException messages
...
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Alan Bateman
79ed34634b
8203937: Not possible to read data from socket after write detects connection reset
...
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Ivan Gerasimov
9303a8a180
8201510: Merge TwoStacksPlainSocketImpl into DualStackPlainSocketImpl [win]
...
Reviewed-by: chegar
2018-04-19 09:36:06 -07:00
Michael McMahon
3b1fdecd45
8196775: java/net/Socket/asyncClose/Race.java failed intermittently on Windows with ConnectException: Connection refused
...
Reviewed-by: dfuchs
2018-04-11 10:19:37 +01:00
Ivan Gerasimov
3d160a80fc
8198358: Align organization of TwoStacksPlainSocketImp with DualStackPlainSocketImpl [win]
...
Reviewed-by: chegar, clanger
2018-03-27 13:22:40 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00