251 Commits

Author SHA1 Message Date
Per Minborg
f292268268 8315454: Add a way to create an immutable snapshot of a BitSet
Co-authored-by: Claes Redestad <redestad@openjdk.org>
Reviewed-by: redestad
2023-09-05 06:43:00 +00:00
Pavel Rappo
f39fc0aa2d 8314738: Remove all occurrences of and support for @revised
Reviewed-by: mr
2023-08-22 13:02:53 +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
Jaikiran Pai
0cb9ab04f4 8313239: InetAddress.getCanonicalHostName may return ip address if reverse lookup fails
Reviewed-by: dfuchs, aefimov, alanb
2023-08-10 10:01:46 +00:00
Pavel Rappo
e3a7e020d2 8311162: Simplify and modernize equals and hashCode for java.net
Reviewed-by: dfuchs, michaelm, msheppar
2023-06-30 15:17:23 +00:00
Jaikiran Pai
8f5a38488c 8311032: Empty value for java.protocol.handler.pkgs system property can lead to unnecessary classloading attempts of protocol handlers
Reviewed-by: dfuchs
2023-06-29 01:30:46 +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
Dhamoder Nalla
749d480193 8305763: Parsing a URI with an underscore goes through a silent exception, negatively impacting performance
Reviewed-by: dfuchs
2023-06-07 09:50:08 +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
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
Aleksei Efimov
eb8d8cdddd 8299129: Enhance NameService lookups
Reviewed-by: ahgross, michaelm, rhalade, dfuchs
2023-04-18 23:21:21 +00:00
Michael McMahon
ec119716e5 8296676: Improve String platform support
Reviewed-by: aefimov, dfuchs
2023-04-18 23:21:20 +00:00
Jonathan Gibbons
c6bd489cc8 8305206: Add @spec tags in java.base/java.* (part 1)
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Jaikiran Pai
c90699eae7 8304989: unnecessary dash in @param gives double-dash in docs
Reviewed-by: lancea
2023-03-28 12:02:27 +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
Michael McMahon
52388179e6 8301463: Code in DatagramSocket still refers to resolved JDK-8237352
Reviewed-by: dfuchs
2023-02-15 10:19:49 +00:00
Mandy Chung
10dd98d0dd 8301462: Convert Permission files to use lambda after JDK-8076596
Reviewed-by: jpai, dfuchs, mullan
2023-02-08 19:06:41 +00:00
Darragh Clarke
09b8a19597 8300177: URISyntaxException fields can be final
Reviewed-by: dfuchs, alanb, jpai
2023-02-07 12:34:29 +00:00
Darragh Clarke
d7aa87fdbd 8300176: URLEncoder/URLDecoder static fields should be private static final
Reviewed-by: redestad, michaelm, stsypanov, dfuchs, jpai
2023-01-27 10:52:06 +00:00
Conor Cleary
48152ef66f 8287134: HttpURLConnection chunked streaming mode doesn't enforce specified size
Reviewed-by: dfuchs, michaelm
2023-01-26 08:35:07 +00:00
Jesper Wilhelmsson
fc9f8baf56 Merge 2023-01-18 23:29:12 +00:00
Joe Darcy
7bf0d1465e 8300133: Use generalized see and link tags in core libs
Reviewed-by: jjg, mchung, naoto, smarks
2023-01-18 18:54:03 +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
Justin Lu
dc5cc61621 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs
Backport-of: 63cf4aa0c897406fc9370a8e05cb035caafc5d69
2023-01-13 23:17:53 +00:00
Alan Bateman
4b573343a6 8278326: Socket close is not thread safe and other cleanup
Reviewed-by: jpai
2023-01-12 09:38:31 +00:00
Justin Lu
63cf4aa0c8 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs
Reviewed-by: naoto, jpai
2023-01-07 02:19:15 +00:00
Matthias Baesken
c929d8be5d 8299475: Enhance SocketException by cause where it is missing in net and nio area
Reviewed-by: alanb
2023-01-05 08:26:38 +00:00
Per Minborg
a9ce7726a7 8299437: Make InetSocketAddressHolder shallowly immutable
Reviewed-by: djelinski, jpai, alanb
2023-01-03 10:00:19 +00:00
Daniel Fuchs
b0e54328c5 8297687: new URI(S,S,S,S) throws exception with incorrect index position reported in the error message
Reviewed-by: jpai
2022-12-06 12:46:01 +00:00
Jaikiran Pai
9ced2ea0ab 8297311: Improve exception message thrown by java.net.HostPortrange::toLowerCase(String s)
Reviewed-by: dfuchs, michaelm, rriggs
2022-11-30 01:11:24 +00:00
Jaikiran Pai
2f47f83add 8297569: URLPermission constructor throws IllegalArgumentException: Invalid characters in hostname after JDK-8294378
Reviewed-by: dfuchs
2022-11-25 01:23:53 +00:00
KIRIYAMA Takuya
ab1f9ffa78 8051627: Invariants about java.net.URI resolve and relativize are wrong
Reviewed-by: dfuchs
2022-11-24 16:16:45 +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
Per Minborg
51f690decb 8297134: Add a @sealedGraph tag to InetAddress
Reviewed-by: jpai, aefimov
2022-11-16 16:41:30 +00:00
Ryan Wallace
ff2c987669 8294378: URLPermission constructor exception when using tr locale
Reviewed-by: dfuchs, jpai, aefimov
2022-11-12 01:37:46 +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
Michael McMahon
182c215888 8295994: Remove left over InetAddressContainer class
Co-authored-by: Andrey Turbanov <aturbanov@openjdk.org>
Reviewed-by: dfuchs
2022-10-27 21:05:44 +00:00
Daniel Fuchs
9d0cfd1130 8294948: Document IllegalArgumentException and NullPointerException thrown by URLStreamHandler::parseURL and URLStreamHandler::setURL
Reviewed-by: jpai, aefimov, alanb, michaelm
2022-10-20 08:54:45 +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
Claes Redestad
3efbd5f0fa 8294626: Improve URL protocol lower casing
Reviewed-by: dfuchs
2022-09-30 16:03:53 +00:00
Viktor Klang
b030c7de32 8225235: Unused field defaultIndex in NetworkInterface
Reviewed-by: chegar, vtewari, dfuchs, jpai
2022-09-30 03:06:36 +00:00
Volker Simonis
2c61efe3de 8282648: Weaken the InflaterInputStream specification in order to allow faster Zip implementations
Reviewed-by: lancea, alanb, jpai, mr, darcy
2022-09-05 12:50:52 +00:00
Jaikiran Pai
a366e82aa1 7113208: Incorrect javadoc on java.net.DatagramPacket.setLength()
Reviewed-by: dfuchs
2022-09-03 05:48:20 +00:00
Jaikiran Pai
bc6ac6f7af 8292968: java.net.ContentHandler's javadoc has a broken reference
Reviewed-by: dfuchs
2022-08-30 05:24:14 +00:00
KIRIYAMA Takuya
79597f1ea6 8272702: Resolving URI relative path with no / may lead to incorrect toString
Reviewed-by: dfuchs, michaelm
2022-08-22 09:22:59 +00:00
Michael McMahon
799a2c844d 8276561: URL$DefaultFactory::PREFIX should be static final
Reviewed-by: djelinski, jpai
2022-07-21 11:03:48 +00:00
Aleksei Efimov
cdc1582d1d 8277608: Address IP Addressing
Reviewed-by: dfuchs, rhalade, michaelm
2022-07-19 20:55:26 +00:00
Sergey Tsypanov
740169ce1c 8285521: Minor improvements in java.net.URI
Reviewed-by: dfuchs
2022-06-23 17:52:37 +00:00
Roger Riggs
17c52789b7 8286378: Address possibly lossy conversions in java.base
Reviewed-by: naoto, xuelei, bpb, alanb
2022-05-12 16:50:36 +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