Commit graph

116 commits

Author SHA1 Message Date
Michael McMahon
67755edd6f 8284890: Support for Do not fragment IP socket options
Reviewed-by: erikj, ihse, dfuchs
2022-04-26 13:49:58 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Andrey Turbanov
f4edb59a6e 8284567: Collapse identical catch branches in java.base
Reviewed-by: darcy, iris, wetmore
2022-04-11 09:32:24 +00:00
Aleksei Efimov
9591306760 8283772: Make sun.net.dns.ResolverConfiguration sealed
Reviewed-by: jpai, dfuchs
2022-03-29 17:06:20 +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
Sibabrata Sahoo
86015e15a5 8282293: Domain value for system property jdk.https.negotiate.cbt should be case-insensitive
Reviewed-by: weijun, rhalade
2022-03-23 06:45:37 +00:00
Jaikiran Pai
974ef5542f 8282617: sun.net.www.protocol.https.HttpsClient#putInKeepAliveCache() doesn't use a lock while dealing with "inCache" field
Reviewed-by: dfuchs, michaelm
2022-03-06 08:16:39 +00:00
Michael McMahon
d8f44aa39e 8278067: Make HttpURLConnection default keep alive timeout configurable
Reviewed-by: dfuchs
2022-02-16 16:01:01 +00:00
Michael McMahon
de3113b998 8279842: HTTPS Channel Binding support for Java GSS/Kerberos
Co-authored-by: Weijun Wang <weijun.wang@oracle.com>
Reviewed-by: dfuchs, weijun, darcy
2022-02-01 07:26:59 +00:00
Andrey Turbanov
c6ed2046b4 8278263: Remove redundant synchronized from URLStreamHandler.openConnection methods
Reviewed-by: dfuchs
2022-01-31 12:11:03 +00:00
Andrey Turbanov
268880b471 8277412: Use String.isBlank to simplify code in sun.net.www.protocol.mailto.Handler
Reviewed-by: dfuchs
2022-01-29 11:36:11 +00:00
stsypanov
f34f8d4d6a 8277983: Remove unused fields from sun.net.www.protocol.jar.JarURLConnection
Reviewed-by: dfuchs
2022-01-26 14:12:51 +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
Sergey Tsypanov
cf977e88ec 8276166: Remove dead code from MimeTable and MimeEntry
Reviewed-by: dfuchs
2022-01-20 09:14:49 +00:00
Andrey Turbanov
9eb50a5ee4 8280010: Remove double buffering of InputStream for Properties.load
Reviewed-by: amenkov, sspitsyn, serb
2022-01-18 15:49:03 +00:00
Andrey Turbanov
dee447f8ae 8274809: Update java.base classes to use try-with-resources
Reviewed-by: mullan, alanb, dfuchs
2022-01-10 16:20:58 +00:00
Brent Christian
ec7cb6d5d3 8276447: Deprecate finalization-related methods for removal
Reviewed-by: rriggs, alanb, lancea, darcy, mchung, serb, smarks, prr
2021-12-08 00:23:15 +00:00
Andrey Turbanov
6677554374 8274949: Use String.contains() instead of String.indexOf() in java.base
Reviewed-by: weijun, dfuchs, vtewari, lancea
2021-11-19 18:48:06 +00:00
Andrey Turbanov
5a2452c80e 8274835: Remove unnecessary castings in java.base
Reviewed-by: mullan, naoto, lancea, bpb
2021-11-12 16:30:56 +00:00
Aleksei Efimov
2ca4ff87b7 8244202: Implementation of JEP 418: Internet-Address Resolution SPI
Co-authored-by: Chris Hegarty <chegar@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Reviewed-by: dfuchs, alanb, michaelm, chegar
2021-11-11 14:33:58 +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
Joe Darcy
d34ec6ccfc 8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net
Reviewed-by: alanb
2021-10-05 19:10:29 +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
Andrey Turbanov
baafa6059e 8274237: Replace 'for' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, weijun
2021-09-24 16:46:52 +00:00
Andrey Turbanov
56b8b35286 8273261: Replace 'while' cycles with iterator with enhanced-for in java.base
Reviewed-by: dfuchs, rriggs, iris, mullan
2021-09-23 20:04:36 +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
Andrey Turbanov
d732c3091f 8272863: Replace usages of Collections.sort with List.sort call in public java modules
Reviewed-by: serb, dfuchs, naoto
2021-08-26 20:47:02 +00:00
Andrey Turbanov
b8f79a7ff7 8268873: Unnecessary Vector usage in java.base
Reviewed-by: mullan
2021-07-26 18:18:56 +00:00
Jesper Wilhelmsson
c36755dedf Merge 2021-07-22 00:46:18 +00:00
Rahul Yadav
ca6b222c97 8258432: Improve File Transfers
Reviewed-by: michaelm, aefimov, dfuchs, chegar, ahgross, rhalade
2021-07-21 20:28:56 +00:00
Weijun Wang
e9b2c058a4 8269409: Post JEP 411 refactoring: core-libs with maximum covering > 10K
Reviewed-by: lancea, naoto
2021-06-28 19:05:33 +00:00
Weijun Wang
508cec7535 8267521: Post JEP 411 refactoring: maximum covering > 50K
Reviewed-by: dfuchs, prr
2021-06-02 15:48:50 +00:00
Weijun Wang
6765f90250 8266459: Implement JEP 411: Deprecate the Security Manager for Removal
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: erikj, darcy, chegar, naoto, joehw, alanb, mchung, kcr, prr, lancea
2021-06-02 11:57:31 +00:00
Sergey Tsypanov
9425d3de83 8261880: Change nested classes in java.base to static nested classes where possible
Reviewed-by: redestad
2021-05-20 13:56:11 +00:00
Ian Graves
dd05158b24 8266155: Convert java.base to use Stream.toList()
Reviewed-by: bpb, naoto, iris, chegar
2021-04-30 19:52:26 +00:00
Aleksei Efimov
a611c462f9 8264048: Fix caching in Jar URL connections when an entry is missing
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Reviewed-by: bchristi, dfuchs
2021-04-06 10:43:59 +00:00
Alex Blewitt
b49c589340 8263658: Use the blessed modifier order in java.base
Reviewed-by: rriggs, redestad
2021-03-19 13:06:58 +00:00
Andrey Turbanov
68deb24b38 8080272: Refactor I/O stream copying to use InputStream.transferTo/readAllBytes and Files.copy
Reviewed-by: mcimadamore, alanb
2021-03-16 10:10:05 +00:00
Vyom Tewari
80182f92db 8260925: HttpsURLConnection does not work with other JSSE provider.
Reviewed-by: xuelei
2021-03-05 05:29:55 +00:00
Jaikiran Pai
240f2a1bb7 8260366: ExtendedSocketOptions <clinit> can deadlock in some circumstances
Reviewed-by: dfuchs
2021-02-26 14:07:35 +00:00
Julia Boes
03b586b32c 8261750: Remove internal class sun.net.www.MimeLauncher
Reviewed-by: alanb, dfuchs
2021-02-17 10:07:15 +00:00
Eirik Bjorsnos
e1de0bf8d4 8260043: Reduce allocation in sun.net.www.protocol.jar.Handler.parseURL
Reviewed-by: redestad, chegar
2021-01-21 10:37:40 +00:00
Andrey Turbanov
022bc9f0cb 8258422: Cleanup unnecessary null comparison before instanceof check in java.base
Reviewed-by: chegar, aefimov
2021-01-11 23:30:44 +00:00
Roger Riggs
aa9c136d67 8251989: Hex formatting and parsing utility
Reviewed-by: tvaleev, chegar, naoto, darcy
2020-12-16 20:29:49 +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
Michael McMahon
6bb7e45e8e 8245194: Unix domain socket channel implementation
Reviewed-by: erikj, dfuchs, alanb, chegar
2020-10-28 17:26:26 +00:00
Sergey Tsypanov
3c4fc79326 8255299: Drop explicit zeroing at instantiation of Atomic* objects
Reviewed-by: redestad, serb, prr
2020-10-28 12:11:53 +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
Daniel Fuchs
65393a093c 8229867: Re-examine synchronization usages in http and https protocol handlers
Reviewed-by: chegar, alanb, michaelm
2020-10-13 14:22:11 +00:00