Alex Kasko
3e0d7c33d4
8270290: NTLM authentication fails if HEAD request is used
...
Reviewed-by: dfuchs, michaelm
2021-09-30 15:21:18 +00:00
Mahendra Chhipa
2f955d6f5b
8273142: Remove dependancy of TestHttpServer, HttpTransaction, HttpCallback from open/test/jdk/sun/net/www/protocol/http/ tests
...
Reviewed-by: michaelm
2021-09-30 11:29:20 +00:00
Evan Whelan
00e059ddb3
8133686: HttpURLConnection.getHeaderFields and URLConnection.getRequestProperties methods return field values in reverse order
...
Reviewed-by: dfuchs
2021-09-09 10:23:12 +00:00
Ivan Šipka
5caa77b043
8263364: sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java wedged in getInputStream
...
Reviewed-by: dfuchs
2021-09-07 09:46:27 +00:00
Emmanuel Bourg
d09b028407
8271396: Spelling errors
...
Reviewed-by: tschatzl, chegar, iris, psadhukhan, cjplummer
2021-07-29 16:03:31 +00:00
Mahendra Chhipa
7621fa37ef
8268464: Remove dependancy of TestHttpsServer, HttpTransaction, HttpCallback from open/test/jdk/sun/net/www/protocol/https/ tests
...
Reviewed-by: dfuchs, michaelm
2021-06-23 15:19:10 +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
Mahendra Chhipa
5df2a949e3
8212035: merge jdk.test.lib.util.SimpleHttpServer with jaxp.library.SimpleHttpServer
...
Reviewed-by: dfuchs
2021-01-13 15:53:05 +00:00
Roger Riggs
876c7fb5f7
8259493: [test] Use HexFormat instead of adhoc hex utilities in network code and locale SoftKeys
...
Reviewed-by: lancea, naoto
2021-01-08 21:31:37 +00:00
Conor Cleary
f9c9bf03a8
8255583: Investigate creating a test to trigger the condition in KeepAliveStreamCleaner
...
Reviewed-by: dfuchs, chegar, michaelm
2020-12-11 16:07:11 +00:00
Jan Lahoda
211bb62a90
8255124: KeepAliveStreamCleaner may crash with java.lang.IllegalMonitorStateException: current thread is not owner
...
Reviewed-by: alanb, chegar, dfuchs
2020-10-22 07:29:37 +00:00
Ivan Sipka
dda0c6cecd
8211974: move test/jdk/lib/testlibrary/java/util/jar/*.java to top-level library or a local library
...
Reviewed-by: rriggs, bchristi, lancea, iignatyev
2020-07-08 20:35:36 +01:00
Michael McMahon
2f80d69518
8241389: URLConnection::getHeaderFields returns result inconsistent with getHeaderField/Key for FileURLConnection, FtpURLConnection
...
Reviewed-by: dfuchs
2020-05-22 21:59:40 +01:00
Daniel Fuchs
7df849224b
8231631: sun/net/ftp/FtpURLConnectionLeak.java fails intermittently with NPE
...
Sun/net/www/ftptest/FtpCommandHandler.java is modified to handle EOF properly
Reviewed-by: chegar, vtewari
2019-10-31 19:31:03 +00:00
Julia Boes
82747fa960
8209178: Proxied HttpsURLConnection doesn't send BODY when retrying POST request
...
Preserve BODY in poster output stream before sending CONNECT request
Reviewed-by: dfuchs, vtewari
2019-09-26 12:35:51 +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
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
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
Chris Hegarty
cbfcd9c72e
8225425: java.lang.UnsatisfiedLinkError: net.dll: Can't find dependent libraries
...
Reviewed-by: dfuchs, alanb, erikj
2019-08-19 14:28:43 +01:00
Daniel Fuchs
e81ee784d3
8229481: sun/net/www/protocol/https/ChunkedOutputStream.java failed with a SSLException
...
The test is updated to ignore plain text connections
Reviewed-by: chegar, michaelm
2019-08-16 15:01:58 +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
Michael McMahon
438c7a5dba
8185898: setRequestProperty(key, null) results in HTTP header without colon in request
...
Reviewed-by: chegar, dfuchs
2019-08-12 11:24:53 +01:00
Mikael Vidstedt
cfcd0223a9
Merge
2019-07-12 02:50:43 -07:00
Frank Yuan
0518393598
8227422: sun/net/www/protocol/file/DirPermissionDenied.java failed on Windows 2016 because DirPermissionDenied directory has no read permission
...
Reviewed-by: dfuchs
2019-07-12 13:59:22 +08: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
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
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
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
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
Daniel Fuchs
a974268f17
8224204: Replace wildcard address with loopback or local host in tests - part 10
...
Fixed intermittently failing tests
Reviewed-by: chegar
2019-05-22 13:58:19 +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
Daniel Fuchs
e0a87ef8fc
8223716: sun/net/www/http/HttpClient/MultiThreadTest.java should be more resilient to unexpected traffic
...
Reviewed-by: chegar
2019-05-15 19:09:54 +01: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
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
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
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
1df787692a
8170705: sun/net/www/protocol/http/StackTraceTest.java fails intermittently with Invalid Http response
...
Reviewed-by: dfuchs
2019-03-19 11:15:08 +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
Xue-Lei Andrew Fan
25f0d60a58
8215430: Remove the internal package com.sun.net.ssl
...
Reviewed-by: chegar, mullan, wetmore
2019-03-01 08:35:14 -08:00
Daniel Fuchs
d176e20898
8218133: sun/net/www/protocol/http/ProtocolRedirect.java failed with "java.net.ConnectException"
...
Changed the test to use the loopback interface.
Reviewed-by: chegar
2019-02-01 14:24:40 +00:00
Michael McMahon
0fc677a674
8216986: Remove unused code from SocksSocketImpl
...
Reviewed-by: alanb
2019-01-24 15:48:05 +00:00
John Jiang
4fe2edae59
8211978: Move testlibrary/jdk/testlibrary/SimpleSSLContext.java and testkeys to network testlibrary
...
Move SimpleSSLContext.java and testkeys to test/lib/jdk/test/lib/net
Reviewed-by: chegar
2018-10-15 22:47:03 +08:00
Chris Yin
285fca70b4
8187522: test/sun/net/ftp/FtpURLConnectionLeak.java timed out
...
Reviewed-by: chegar, vtewari
2018-10-15 09:34:18 +08:00
Igor Ignatyev
ab8c7f710c
8211171: move JarUtils to top-level testlibrary
...
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00