Commit graph

283 commits

Author SHA1 Message Date
Daniel Fuchs
03bc6b359f 8328286: Enhance HTTP client
Reviewed-by: aefimov, michaelm
2024-10-15 17:04:27 +05:30
Per Minborg
384deda65f 8325949: Create an internal utility method for creating VarHandle instances
Reviewed-by: rriggs
2024-09-23 10:57:43 +00:00
Justin Lu
5f3e7aa833 8339735: Remove references to Applet in core-libs/security APIs
Reviewed-by: coffeys, naoto, iris, rriggs, lancea, mullan
2024-09-19 16:18:37 +00:00
Daniel Fuchs
c8e64cb7a5 8283779: Clarify API documentation of NetworkInterface with respect to configuration changes
Reviewed-by: alanb, msheppar
2024-09-10 17:27:19 +00:00
Jaikiran Pai
686eb233d5 8336817: Several methods on DatagramSocket and MulticastSocket do not specify behaviour when already closed or connected
Reviewed-by: dfuchs, alanb
2024-08-20 12:28:56 +00:00
Jaikiran Pai
04e8cb8641 8336815: Several methods in java.net.Socket and ServerSocket do not specify behavior when already bound, connected or closed
Reviewed-by: alanb
2024-07-24 15:43:53 +00:00
Nizar Benalla
92de2b2d5f 8336039: Doccheck: HTML warnings, broken links and missing files in java.base documentation
Reviewed-by: liach, djelinski
2024-07-22 13:27:12 +00:00
Aleksei Efimov
b21cb44e38 8329398: Links in InetAddress class description show "#format"
Reviewed-by: jpai
2024-07-20 16:48:30 +00:00
Jaikiran Pai
1b04f6487c 8216984: Deprecate for removal Socket constructors to create UDP sockets
Reviewed-by: alanb, dfuchs
2024-05-30 10:03:06 +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
Jaikiran Pai
5f804b2ec1 8329825: Clarify the value type for java.net.SocketOptions.SO_LINGER
Reviewed-by: alanb, dfuchs
2024-05-22 01:20:51 +00:00
Jaikiran Pai
ce99198e3a 8332181: Deprecate for removal the MulticastSocket.send(DatagramPacket, byte) and setTTL/getTTL methods on DatagramSocketImpl and MulticastSocket
Reviewed-by: dfuchs, iris, alanb
2024-05-21 06:37:15 +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
Alan Bateman
412e306d81 8329593: Drop adjustments to target parallelism when virtual threads do I/O on files opened for buffered I/O
Reviewed-by: bpb, jpai
2024-04-23 16:10:13 +00:00
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