Commit Graph

107 Commits

Author SHA1 Message Date
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
Igor Ignatyev
7e305ad1d4 8255405: sun/net/ftp/imp/FtpClient uses SimpleDateFormat in not thread-safe manner
Reviewed-by: chegar, ryadav, dfuchs
2020-10-28 23:53:51 +00:00
Igor Ignatyev
6545e19fcc 8255078: sun/net/ftp/imp/FtpClient$MLSxParser uses wrong datetime format
Reviewed-by: dfuchs
2020-10-23 22:31:18 +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
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
Alan Bateman
e5099daae2 8244283: test/jdk/sun/net/idn/TestStringPrep.java fails with --illegal-access=deny
Reviewed-by: chegar
2020-05-04 12:40:17 +01:00
Naoto Sato
1b24cf800f 8174270: Consolidate ICU sources in one location
Reviewed-by: srl, joehw
2020-01-13 08:05:59 -08: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
Jaikiran Pai
1d67d474a5 8177648: getResponseCode() throws IllegalArgumentException caused by protocol error while following redirect
Reviewed-by: michaelm, chegar, dfuchs
2019-08-26 12:25:49 +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
9e686ef2d1 8223880: Update sun/net/ftp/FtpURL.java and sun/net/ftp/FtpURLConnectionLeak.java to work with IPv6 addresses
This fix updates three tests: sun/net/ftp/FtpURL.java, sun/net/ftp/FtpURLConnectionLeak.java, and sun/net/ftp/FtpGetContent.java, to work with IPv6 addresses

Reviewed-by: chegar, aeubanks, vtewari
2019-05-15 19:34:34 +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
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
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
Chris Hegarty
20f6faa030 8211092: test/jdk/sun/net/www/http/HttpClient/MultiThreadTest.java fails intermittently when cleaning up
Reviewed-by: dfuchs
2018-09-28 12:47:09 +01:00
Frank Yuan
3edf95fc44 8210934: Move sun/net/www/protocol/http/GetErrorStream.java to OpenJDK
Repalce internet website dependency with a built-in http server

Reviewed-by: chegar
2018-09-25 11:24:59 +08:00
Frank Yuan
c1bbf898e4 8210819: Update the host name in CNameTest.java
Reviewed-by: chegar
2018-09-18 11:09:18 +08:00
Xue-Lei Andrew Fan
87c6761704 8196584: TLS 1.3 Implementation
Co-authored-by: Adam Petcher <adam.petcher@oracle.com>
Co-authored-by: Amanda Jiang <amanda.jiang@oracle.com>
Co-authored-by: Anthony Scarpino <anthony.scarpino@oracle.com>
Co-authored-by: Bradford Wetmore <bradford.wetmore@oracle.com>
Co-authored-by: Jamil Nimeh <jamil.j.nimeh@oracle.com>
Co-authored-by: John Jiang <sha.jiang@oracle.com>
Co-authored-by: Rajan Halade <rajan.halade@oracle.com>
Co-authored-by: Sibabrata Sahoo <sibabrata.sahoo@oracle.com>
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: ascarpino, coffeys, dfuchs, jjiang, jnimeh, mullan, rhalade, ssahoo, valeriep, weijun, wetmore, xuelei
2018-06-25 13:41:39 -07:00
Ivan Gerasimov
97c8fdb2dd 8175075: Add 3DES to the default disabled algorithm security property
Reviewed-by: xuelei, mullan, rhalade
2018-01-19 11:24:39 -08:00
Claes Redestad
abb7e3a52a 8197849: Misc improvements to jar resource handling
Reviewed-by: rriggs, dfuchs
2018-02-14 19:03:12 +01:00
Joe Darcy
0b40438ae8 8194070: Update various tests to pass under JDK 11
Reviewed-by: alanb, sherman, psandoz
2018-01-31 11:25:34 -08:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00