Sean Mullan
db85090553
8338411: Implement JEP 486: Permanently Disable the Security Manager
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +00:00
Justin Lu
2e5b420f81
8340326: Remove references to Applet in core-libs/security tests
...
Reviewed-by: prr, naoto, dfuchs
2024-10-04 17:34:08 +00:00
Daniel Jeliński
b6ffb442ac
8335135: HttpURLConnection#HttpInputStream does not throw IOException when response is truncated
...
Reviewed-by: dfuchs
2024-06-27 15:14:36 +00:00
Christoph Langer
a5005c87c4
8330814: Cleanups for KeepAliveCache tests
...
Reviewed-by: jpai, dfuchs
2024-05-15 10:36:24 +00:00
robertengels
02c95a6d7e
6968351: httpserver clashes with delayed TCP ACKs for low Content-Length
...
Reviewed-by: dfuchs, djelinski, michaelm, jpai
2024-05-07 13:18:24 +00:00
Christoph Langer
16c7dcdb04
8330523: Reduce runtime and improve efficiency of KeepAliveTest
...
Reviewed-by: djelinski
2024-04-27 13:10:40 +00:00
Darragh Clarke
9538f5d317
8319651: Several network tests ignore vm flags when start java process
...
Reviewed-by: dfuchs, jpai
2024-02-20 16:00:09 +00:00
Kevin Driver
1696603ccd
8308453: Convert JKS test keystores in test/jdk/javax/net/ssl/etc to PKCS12
...
Reviewed-by: weijun
2023-11-06 15:07:03 +00:00
Leo Korinth
d52a995f35
8315097: Rename createJavaProcessBuilder
...
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Jesse Glick
9f98136c3a
6956385: URLConnection.getLastModified() leaks file handles for jar:file and file: URLs
...
Define FileURLConnection.closeInputStream for use by JarURLInputStream.close.
JarURLConnection properly tracks any InputStream it itself opened,
and correspondingly closes the JarFile if necessary (when caches are disabled).
But if its underlying FileURLConnection was used to retrieve a header field,
that would have caused a FileInputStream to be opened
which never gets closed until it is garbage collected.
This means that an application which calls certain methods
on jar:file:/…something.jar!/… URLs will leak file handles,
even if URLConnection caches are supposed to be turned off.
This can delay release of system resources,
and on Windows can prevent the JAR file from being deleted
even after it is no longer in use (for example after URLClassLoader.close).
Reviewed-by: dfuchs, michaelm
2023-06-28 15:33:37 +00:00
Daniel Jeliński
fadcd65018
8309527: Improve test proxy performance
...
Reviewed-by: dfuchs, jpai
2023-06-07 07:51:05 +00:00
Michael McMahon
314db55f6d
8304818: Prune HttpURLConnection cache when corresponding Authenticator is garbage collected
...
Reviewed-by: dfuchs, djelinski
2023-04-24 17:25:32 +00:00
Jaikiran Pai
3f36dd811e
8305529: DefaultProxySelector.select(URI) in certain cases returns a List with null element
...
Reviewed-by: dfuchs, djelinski, michaelm
2023-04-13 01:30:00 +00:00
Daniel Jeliński
cddaf686e1
8304962: sun/net/www/http/KeepAliveCache/B5045306.java: java.lang.RuntimeException: Failed: Initial Keep Alive Connection is not being reused
...
Reviewed-by: jpai
2023-03-28 08:57:02 +00:00
Daniel Jeliński
a5ffa079a0
7026262: HttpServer: improve handling of finished HTTP exchanges
...
Reviewed-by: dfuchs, michaelm
2023-03-27 05:22:45 +00:00
Daniel Jeliński
a2c5a4ac9e
8302732: sun/net/www/http/HttpClient/MultiThreadTest.java still failing intermittently
...
Reviewed-by: dfuchs
2023-02-27 07:52:03 +00:00
Daniel Jeliński
3ae718725a
8298498: sun/net/www/http/KeepAliveCache/B8291637.java fails with "Server exception terminating: java.net.SocketException: Socket closed"
...
Reviewed-by: dfuchs, jpai
2022-12-15 06:55:25 +00:00
Daniel Jeliński
27bbe7be2c
8297976: Remove sun.net.ProgressMonitor and related classes
...
8240275: Occasional errors in HttpURLConnection due to race with GC
Reviewed-by: jpai, dfuchs, michaelm
2022-12-07 08:56:10 +00:00
Johnny Lim
5dcaf6cc6c
8297749: Remove duplicate space in the ProtocolException message being thrown from HttpURLConnection
...
Reviewed-by: dfuchs, jpai
2022-11-30 06:15:07 +00:00
Daniel Fuchs
8effaa8f1f
8223783: sun/net/www/http/HttpClient/MultiThreadTest.java sometimes detect threads+1 connections
...
Reviewed-by: djelinski, michaelm
2022-11-24 16:18:28 +00:00
Hai-May Chao
5a8e5ea3e2
8286526: Improve NTLM support
...
Reviewed-by: weijun, rhalade
2022-10-18 22:41:15 +00:00
Michael McMahon
26ac836636
8291638: Keep-Alive timeout of 0 should close connection immediately
...
Reviewed-by: dfuchs, jpai
2022-10-13 08:32:48 +00:00
Michael McMahon
cb62f1c5c0
8295218: New KeepAliveTest.java has invalid copyright notice
...
Reviewed-by: dfuchs, tschatzl
2022-10-12 12:10:07 +00:00
Ramesh Bhagavatam Gangadhar
86ec158dfb
8291226: Create Test Cases to cover scenarios for JDK-8278067
...
Reviewed-by: dfuchs, michaelm
2022-10-12 11:44:44 +00:00
Alan Bateman
0ad6803ac2
8293810: Remove granting of RuntimePermission("stopThread") from tests
...
Reviewed-by: dfuchs, mullan, mchung, chegar
2022-10-07 06:15:38 +00:00
Daniel Jeliński
43dbf5899b
8186765: Speed up test sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java
...
Reviewed-by: dfuchs, jpai
2022-10-05 06:47:19 +00:00
Daniel Jeliński
03f25a9c69
8293562: blocked threads with KeepAliveCache.get
...
Reviewed-by: dfuchs, michaelm
2022-10-03 06:32:31 +00:00
Michael McMahon
b17a745d7f
8291637: HttpClient default keep alive timeout not followed if server sends invalid value
...
Reviewed-by: jpai, dfuchs
2022-08-05 14:51:58 +00:00
Daniel Jeliński
af529be069
8285836: sun/net/www/http/KeepAliveCache/KeepAliveProperty.java failed with "RuntimeException: Failed in server"
...
Reviewed-by: dfuchs, jpai
2022-08-03 14:51:28 +00:00
Alexey Ivanov
e0d361cea9
8284191: Replace usages of 'a the' in hotspot and java.base
...
Reviewed-by: lancea, wetmore, naoto, iris, kevinw, xuelei
2022-05-24 11:25:13 +00:00
Mahendra Chhipa
ec73c61d8f
8284353: Update java/net and sun/net/www tests to eliminate dependency on sun.net.www.MessageHeader
...
Reviewed-by: dfuchs
2022-04-07 10:19:12 +00:00
Michael McMahon
7f2a3ca289
8281561: Disable http DIGEST mechanism with MD5 and SHA-1 by default
...
Reviewed-by: weijun, dfuchs
2022-03-28 13:51:55 +00:00
Mahendra Chhipa
95ca94436d
8282354: Remove dependancy of TestHttpServer, HttpTransaction, HttpCallback from open/test/jdk/ tests
...
Reviewed-by: dfuchs
2022-03-11 10:48:57 +00:00
Mahendra Chhipa
cd9a3cf05b
8282017: sun/net/www/protocol/https/HttpsURLConnection/B6216082.java fails with "SocketException: Unexpected end of file from server"
...
Reviewed-by: dfuchs
2022-02-17 17:45:06 +00:00
Mahendra Chhipa
0f3d3ac32c
8061729: Update java/net tests to eliminate dependency on sun.net.www.MessageHeader and some other internal APIs
...
Reviewed-by: dfuchs
2022-02-16 16:43:15 +00:00
Michael McMahon
d8f44aa39e
8278067: Make HttpURLConnection default keep alive timeout configurable
...
Reviewed-by: dfuchs
2022-02-16 16:01:01 +00:00
Daniel Jeliński
28796cbd1d
8163921: HttpURLConnection default Accept header is malformed according to HTTP/1.1 RFC
...
Reviewed-by: dfuchs, michaelm
2022-01-25 11:10:51 +00:00
Evan Whelan
45ce06c9f3
8274779: HttpURLConnection: HttpClient and HttpsClient incorrectly check request method when set to POST
...
Reviewed-by: dfuchs, coffeys, vtewari, michaelm
2021-10-21 13:33:21 +00:00
Ao Qi
b7b78ff1f3
8274561: sun/net/ftp/TestFtpTimeValue.java timed out on slow machines
...
Reviewed-by: jiefu, dfuchs
2021-10-01 08:52:04 +00:00
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
Conor Cleary
8bc8542e3f
8262195: Harden tests that use the HostsFileNameService (jdk.net.hosts.file property)
...
Reviewed-by: michaelm, aefimov, dfuchs, chegar
2021-03-01 10:18:12 +00:00
Jaikiran Pai
240f2a1bb7
8260366: ExtendedSocketOptions <clinit> can deadlock in some circumstances
...
Reviewed-by: dfuchs
2021-02-26 14:07:35 +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