269 Commits

Author SHA1 Message Date
Jaikiran Pai
635cb3c976 8329745: Update the documentation of ServerSocket and Socket to refer to StandardSocketOptions instead of legacy SocketOptions
Reviewed-by: alanb, dfuchs
2024-04-09 13:04:14 +00:00
Jaikiran Pai
d771ec6296 8329733: Update the documentation in java.net.SocketOptions to direct to java.net.StandardSocketOptions
6431396: Spec for SocketOptions.SO_BINDADDR incorrect

Reviewed-by: djelinski, alanb
2024-04-06 14:21:57 +00:00
Korov
379ad1fbb4 8312444: Delete unused parameters and variables in SocketPermission
Reviewed-by: gli, aturbanov, dfuchs
2024-03-12 15:55:19 +00:00
Daniel Jeliński
f2b5ffdb8e 8326578: Clean up networking properties documentation
Reviewed-by: jwaters, dfuchs, michaelm
2024-03-11 07:29:40 +00:00
Daniel Jeliński
efa071dd06 8323089: networkaddress.cache.ttl is not a system property
Reviewed-by: alanb, jpai, aefimov, dfuchs
2024-02-12 07:54:48 +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
Michael McMahon
a2c5f1fc91 8319417: (dc) DatagramChannel.connect undocumented behavior
Reviewed-by: alanb
2023-11-29 14:03:39 +00:00
Darragh Clarke
48960df7bc 8316734: URLEncoder should specify that replacement bytes will be used in case of coding error
Reviewed-by: dfuchs, alanb
2023-11-29 12:59:19 +00:00
Marc R. Hoffmann
419ed90770 8319450: New methods java.net.InetXAddress.ofLiteral() miss @since tag
Reviewed-by: dfuchs, aefimov, vtewari, jpai
2023-11-07 06:37:45 +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
Daniel Jeliński
728b858c78 8318130: SocksSocketImpl needlessly encodes hostname for IPv6 addresses
Reviewed-by: dfuchs, jpai, aefimov, michaelm
2023-10-24 05:36:43 +00:00
Daniel Jeliński
d9ce525a1c 8318150: StaticProxySelector.select should not throw NullPointerExceptions
Reviewed-by: jpai, dfuchs
2023-10-20 06:18:18 +00:00
Erik Gahlin
6aa837eee6 8316927: JFR: Move shouldCommit check earlier for socket events
Reviewed-by: alanb, dfuchs, mgronlun
2023-10-17 13:11:52 +00:00
Glavo
3bcfac18c3 8317246: Cleanup java.net.URLEncoder and URLDecoder use of file.encoding property
Reviewed-by: rriggs, naoto
2023-10-03 10:34:12 +00:00
Claes Redestad
c24c66db97 8316681: Rewrite URLEncoder.encode to use small reusable buffers
Reviewed-by: dfuchs, rriggs
2023-09-22 09:41:01 +00:00
Tim Prinzing
b275bdd9b5 8308995: Update Network IO JFR events to be static mirror events
Reviewed-by: egahlin, alanb
2023-09-20 12:34:08 +00:00
Glavo
f25c920fd3 8314774: Optimize URLEncoder
Reviewed-by: redestad, dfuchs
2023-09-19 13:49:58 +00:00
Andrey Turbanov
283c360392 8314877: Make fields final in 'java.net' package
Reviewed-by: jpai
2023-09-19 08:26:25 +00:00
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