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
Sergey Chernyshev
c2180d141c
8315767: InetAddress: constructing objects from BSD literal addresses
...
Reviewed-by: dfuchs, aefimov, michaelm, jpai
2024-05-23 06:12:45 +00:00
Christoph Langer
e818ab60a0
8330815: Use pattern matching for instanceof in KeepAliveCache
...
Reviewed-by: jpai, djelinski
2024-04-25 06:53:36 +00:00
Jonathan Gibbons
9cc163a999
8330178: Clean up non-standard use of /** comments in java.base
...
Reviewed-by: darcy, iris, dfuchs, aivanov, naoto
2024-04-23 18:43:36 +00:00
Eirik Bjørsnøs
b9c3dc3b47
8327738: Remove unused internal method sun.n.w.p.h.HttpURLConnection.setDefaultAuthenticator
...
Reviewed-by: djelinski, dfuchs
2024-03-12 17:38:59 +00:00
Korov
e85265abc2
8325361: Make sun.net.www.MessageHeader final
...
Reviewed-by: dfuchs
2024-03-01 10:58:59 +00:00
Joe Darcy
fbd15b2087
8325189
: Enable this-escape javac warning in java.base
...
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Magnus Ihse Bursie
18e24d0619
8325109: Sort method modifiers in canonical order
...
Reviewed-by: aivanov, rriggs, darcy, prappo
2024-02-07 15:50:40 +00:00
Jaikiran Pai
9d1a6d1484
8323645: Remove unused internal sun.net.www.protocol.jar.URLJarFileCallBack interface
...
Reviewed-by: alanb, dfuchs
2024-01-25 09:35:35 +00:00
Pavel Rappo
9efdd242fb
8324053: Use the blessed modifier order for sealed in java.base
...
Reviewed-by: naoto, darcy, ihse, dfuchs
2024-01-18 22:28:23 +00:00
Matthias Baesken
1369c545ac
8322782: Clean up usages of unnecessary fully qualified class name "java.util.Arrays"
...
Reviewed-by: alanb, aivanov
2024-01-04 08:06:14 +00:00
Michael McMahon
f1a24f6d48
8318599: HttpURLConnection cache issues leading to crashes in JGSS w/ native GSS introduced by 8303809
...
Reviewed-by: dfuchs
2023-11-27 22:43:48 +00:00
Oliver Lockwood
aac4318431
8320577: Improve MessageHeader's toString() function to make HttpURLConnection's debug log readable
...
Reviewed-by: dfuchs, jpai
2023-11-22 18:25:44 +00:00
Aleksei Efimov
77fe0fd9e6
8272215: Add InetAddress methods for parsing IP address literals
...
Reviewed-by: dfuchs, michaelm
2023-10-26 18:24:42 +00:00
Vyom Tewari
460ebcd9cb
8314978: Multiple server call from connection failing with expect100 in getOutputStream
...
Reviewed-by: dfuchs
2023-10-08 05:13:00 +00:00
Andrey Turbanov
a8ab3be371
8314261: Make fields final in sun.net.www
...
Reviewed-by: redestad, jpai, dfuchs
2023-08-17 17:54:02 +00:00
Glavo
b32d6411c4
8311943: Cleanup usages of toLowerCase() and toUpperCase() in java.base
...
Reviewed-by: naoto
2023-08-16 17:37:21 +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
Sergey Bylokhov
bdd81b3182
8304885: Reuse stale data to improve DNS resolver resiliency
...
Reviewed-by: michaelm, dfuchs
2023-06-09 23:20:06 +00:00
Darragh Clarke
05e99db466
7065228: To interpret case-insensitive string locale independently
...
Reviewed-by: dfuchs, naoto, djelinski, jpai, michaelm
2023-05-22 10:53:59 +00:00
Darragh Clarke
4b02956d42
8054022: HttpURLConnection timeouts with Expect: 100-Continue and no chunking
...
Reviewed-by: djelinski, dfuchs
2023-05-08 14:33:44 +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
Michael McMahon
ec119716e5
8296676: Improve String platform support
...
Reviewed-by: aefimov, dfuchs
2023-04-18 23:21:20 +00:00
Roger Riggs
6c3b10fb1d
8303485: Replacing os.name for operating system customization
...
Reviewed-by: naoto, erikj, alanb
2023-03-27 17:45:20 +00:00
Alexey Bakhtin
10f1674625
8303809: Dispose context in SPNEGO NegotiatorImpl
...
Reviewed-by: dfuchs, weijun
2023-03-14 16:41:09 +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
Andrey Turbanov
3a9f491caa
8301964: Expensive fillInStackTrace operation in HttpURLConnection.getLastModified when no last-modified in response
...
Reviewed-by: dfuchs, jpai, alanb
2023-02-25 13:39:36 +00:00
Ralf Schmelter
92d8326e40
8299827: Add resolved IP address in connection exception for sockets
...
Reviewed-by: alanb, vtewari, jpai, dfuchs
2023-01-20 16:36:45 +00:00
Daniel Jeliński
b7cfb6817b
8293598: Enhance InetAddress address handling
...
Reviewed-by: skoivu, alanb, aefimov, rhalade, dfuchs
2023-01-17 20:58:58 +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
Jaikiran Pai
392ac7055d
8297211: Expensive fillInStackTrace operation in HttpURLConnection.getOutputStream0 when no content-length in response
...
Reviewed-by: simonis, dfuchs
2022-11-22 01:48:39 +00:00
Daniel Fuchs
4338f527aa
8294241: Deprecate URL public constructors
...
Reviewed-by: joehw, prr, alanb, aefimov, michaelm
2022-11-03 17:18:14 +00:00
Daniel Fuchs
bd41428a56
8293590: Some syntax checks performed by URL.openConnection() could be performed earlier, at URL construction
...
Reviewed-by: jpai, michaelm
2022-10-18 14:30:51 +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
KIRIYAMA Takuya
4435d56d3f
8282395: URL.openConnection can throw IOOBE
...
Reviewed-by: dfuchs
2022-10-11 09:22:33 +00:00
Daniel Jeliński
03f25a9c69
8293562: blocked threads with KeepAliveCache.get
...
Reviewed-by: dfuchs, michaelm
2022-10-03 06:32:31 +00:00
Claes Redestad
3efbd5f0fa
8294626: Improve URL protocol lower casing
...
Reviewed-by: dfuchs
2022-09-30 16:03:53 +00:00
Jaikiran Pai
8bd79d3efd
8170305: URLConnection doesn't handle HTTP/1.1 1xx (informational) messages
...
Reviewed-by: dfuchs, michaelm
2022-09-13 05:08:05 +00:00
Sergey Tsypanov
9a65524e2f
8290300: Use standard String-joining tools where applicable
...
Reviewed-by: naoto, rriggs, dfuchs
2022-08-21 17:22:10 +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
ce61eb6ff9
8290349: IP_DONTFRAGMENT doesn't set DF bit in IPv4 header
...
Reviewed-by: michaelm, alanb
2022-08-04 10:52:15 +00:00
Andrey Turbanov
62f22633d1
8290861: Remove unused field URLJarFile.BUF_SIZE
...
Reviewed-by: jpai, djelinski, aefimov
2022-07-22 15:55:58 +00:00
Aleksei Efimov
cdc1582d1d
8277608: Address IP Addressing
...
Reviewed-by: dfuchs, rhalade, michaelm
2022-07-19 20:55:26 +00:00
Jaikiran Pai
50c37f53f2
8276798: HttpURLConnection sends invalid HTTP request
...
Reviewed-by: dfuchs, michaelm
2022-06-22 14:45:52 +00:00
Andrey Turbanov
ce5024f66f
8288468: Avoid redundant HashMap.get call in NegotiateAuthentication.firstToken
...
Reviewed-by: dfuchs, jpai
2022-06-16 16:03:05 +00:00
XenoAmess
e01cd7c3ed
8284780: Need methods to create pre-sized HashSet and LinkedHashSet
...
Reviewed-by: naoto, bpb, dfuchs, ascarpino
2022-06-09 01:50:54 +00:00
Andrey Turbanov
4caf1ef389
8287390: Cleanup Map usage in AuthenticationInfo.requestAuthentication
...
Reviewed-by: dfuchs, jpai
2022-06-01 18:15:59 +00:00
Brian Burkhalter
8071b2311c
8287237: (fs) Files.probeContentType returns null if filename contains hash mark on Linux
...
Reviewed-by: rriggs, jpai, vtewari
2022-06-01 15:15:53 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00