Weijun Wang
3470e7b300
8266109: More Resilient Classloading
...
Reviewed-by: lancea, rhalade, mschoene, bchristi
2021-10-19 18:26:00 +00:00
Andrey Turbanov
7de2cf852d
8273910: Redundant condition and assignment in java.net.URI
...
Reviewed-by: dfuchs
2021-10-07 16:55:45 +00:00
Aleksei Efimov
cc14c6f076
8274227: Remove "impl.prefix" jdk system property usage from InetAddress
...
Reviewed-by: alanb, dfuchs
2021-10-01 09:48:09 +00:00
Pavel Rappo
b4b121018d
8273616: Fix trivial doc typos in the java.base module
...
Reviewed-by: jrose, iris, lancea, dfuchs, rriggs
2021-09-13 17:46:13 +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
Aleksei Efimov
0c1b16b75a
8273243: Fix indentations in java.net.InetAddress methods
...
Reviewed-by: dfuchs, bpb
2021-09-02 10:36:08 +00:00
Naoto Sato
7fc8540907
8260265: UTF-8 by Default
...
Reviewed-by: alanb, rriggs
2021-08-30 21:13:59 +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
Claes Redestad
30b0f820ce
8272626: Avoid C-style array declarations in java.*
...
Reviewed-by: dfuchs, alanb
2021-08-18 10:47:03 +00:00
Sergey Tsypanov
d7fc9e4171
8267840: Improve URLStreamHandler.parseURL()
...
Reviewed-by: dfuchs, redestad
2021-08-05 14:55:00 +00:00
Patrick Concannon
326b2e1344
8253119: Remove the legacy PlainSocketImpl and PlainDatagramSocketImpl implementation
...
Reviewed-by: alanb, dfuchs, chegar
2021-07-06 13:46:02 +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
Patrick Concannon
438895903b
8268056: Update java.net and java.nio to use switch expressions
...
Reviewed-by: dfuchs, michaelm, chegar, iris, alanb
2021-06-09 10:13:25 +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
Hannes Wallnöfer
e0c86884e5
8262992: Improve @see
output
...
Reviewed-by: jjg
2021-05-07 10:45:48 +00:00
Michael McMahon
4661690981
8262883: doccheck: Broken links in java.base
...
Reviewed-by: lancea
2021-04-14 15:00:14 +00:00
Kim Barrett
47ef038977
8263905: Remove finalize methods for SocketInput/OutputStream
...
Reviewed-by: alanb, vtewari, dfuchs, mchung
2021-03-23 20:54:23 +00:00
Daniel Fuchs
9dad857ede
8263080: Obsolete relationship in MulticastSocket API documentation.
...
Reviewed-by: alanb
2021-03-23 10:39:42 +00:00
Patrick Concannon
fdd3941121
8263233: Update java.net and java.nio to use instanceof pattern variable
...
Reviewed-by: dfuchs, bpb, chegar, michaelm
2021-03-10 11:05:29 +00:00
Daniel Fuchs
5f4bc0aca6
8253100: Fix "no comment" warnings in java.base/java.net
...
Reviewed-by: ryadav, chegar, naoto, alanb
2021-03-02 12:54:54 +00:00
Jonathan Gibbons
3088e1e62e
8262430: doclint warnings in java.base module
...
Reviewed-by: alanb, chegar, dfuchs, lancea
2021-02-26 15:12:51 +00:00
Patrick Concannon
1662373400
8235139: Deprecate the socket impl factory mechanism
...
Reviewed-by: dfuchs, alanb, chegar
2021-02-11 10:00:31 +00:00
Daniel Fuchs
2c28e36454
8237352: Update DatagramSocket to add support for joining multicast groups
...
Reviewed-by: alanb
2021-02-08 12:55:00 +00:00
Julia Boes
b0ee7a8624
8241995: Clarify InetSocketAddress::toString specification
...
Reviewed-by: michaelm, chegar
2021-02-03 14:15:00 +00:00
Jaikiran Pai
db9c114d40
7146776: deadlock between URLStreamHandler.getHostAddress and file.Handler.openconnection
...
Reviewed-by: alanb, chegar
2021-01-18 11:53:22 +00:00
Sergey Tsypanov
c822eda1d8
8259699: Reduce char[] copying in URLEncoder.encode(String, Charset)
...
Reviewed-by: attila, redestad, chegar
2021-01-14 14:18:12 +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
Joe Darcy
80544e4d5f
8250564: Remove terminally deprecated constructor in GSSUtil
...
8250565: Remove terminally deprecated constructor in java.net.URLDecoder
Reviewed-by: bpb, smarks, alanb, mullan
2021-01-06 18:05:33 +00:00
Sergey Tsypanov
15481041e0
8255477: Remove unused method URL.set(String protocol, String host, int port, String file, String ref)
...
Reviewed-by: dfuchs
2020-12-14 13:03:55 +00:00
ANUPAM DEV
895cc4f0a2
8255675: Typo in java.net.HttpURLConnection
...
Reviewed-by: chegar
2020-11-23 12:08:47 +00:00
Michael McMahon
9d0ee66f2d
8255758: JEP 380 spec clarifications
...
Reviewed-by: dfuchs, alanb
2020-11-17 12:12:08 +00:00
Pavel Rappo
c5462bb95d
8255989: Remove explicitly unascribed authorship from Java source files
...
Reviewed-by: redestad, mr, mchung, iris, serb
2020-11-07 12:11:43 +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
Jonathan Gibbons
0aa3c92577
8255262: Remove use of legacy custom @spec tag
...
Reviewed-by: lancea, mr, iris, alanb, darcy, mchung
2020-10-22 19:42:01 +00:00
David M. Lloyd
cca3a26e43
8252996: Thread safety problem in java.net.ProxySelector
...
Reviewed-by: alanb
2020-09-17 13:40:29 +00:00
Rahul Yadav
0f64d4bead
8245308: Replace ThreadLocalCoders decoder/encoder cache in java.net.URI
...
This fix updates java.net.URI and replaces the ThreadLocalCoders optimization.
Reviewed-by: alanb, dfuchs
2020-08-28 18:05:20 +01:00
Vipin Sharma
d4626d89cc
8251542: Several small Javadoc errors in java.base
...
Fixing wrong exception type in throws clause and wrong return type description
Reviewed-by: darcy, dfuchs, mullan, mchung, rriggs
2020-08-25 09:27:36 +01:00
Evan Whelan
67b3cbff2e
8250748: Doc of URL(String, String, int, String, URLStreamHandler) does not use link
...
Reviewed-by: dfuchs
2020-08-19 08:58:00 +00:00
Joe Darcy
0e54ce2a8e
8250244: Address reliance on default constructors in java.net
...
Reviewed-by: alanb, vtewari
2020-07-25 09:42:45 -07:00
Daniel Fuchs
82cc03fa89
8248703: Clarify the behavior of java.net.NetworkInterface::equals
...
The API documentation of NetworkInterface::equals is clarified to warn about the possibility that two NetworkInterface representing the same underlying interface objects might not compare equal if the IP addresses bound to the interfaces are being dynamically updated by the system.
Reviewed-by: alanb, chegar
2020-07-03 16:50:16 +01:00
Patrick Concannon
2e8356ea40
8244933: DatagramSocket.connect does not specify that it may cause datagrams in the socket receive buffer to be discarded
...
This fix updates the javadoc for `DatagramSocket.connect` to inform the user that it may cause datagrams in the socket receive buffer to be discarded if not previously received via a call to `DatagramSocket.receive`.
Reviewed-by: alanb, dfuchs
2020-06-10 11:08:19 +01:00
Patrick Concannon
ac906168c8
8243999: DatagramSocket and MulticastSocket constructors don't specify how a null InetAddress is handled
...
This fix clarifies the behaviours of constructors from DatagramSocket and MulticastSocket when no address or a null address is supplied.
Reviewed-by: dfuchs
2020-06-09 15:26:53 +01:00
Aleksei Efimov
02fbf44cc7
8244958: preferIPv4Stack and preferIPv6Addresses do not affect addresses returned by HostsFileNameService
...
Reviewed-by: dfuchs, alanb, vtewari
2020-05-29 13:39:16 +01:00
Patrick Concannon
4708c6d343
8243507: DatagramSocket constructors don’t always specify what happens when passed invalid parameters
...
This fix updates the spec for DatagramSocket's constructors to inform the user of the Exceptions thrown when an invalid argument is passed.
Reviewed-by: dfuchs
2020-05-29 11:08:09 +01:00
Michael McMahon
5374383dcd
8245582: j.net.URLConnection::getHeaderFieldKey(int) behavior does not reliably conform to its specification
...
Reviewed-by: chegar, dfuchs
2020-05-26 21:29:33 +01:00
Patrick Concannon
fad2cf51ba
8241072: Reimplement the Legacy DatagramSocket API
...
Replace the underlying implementations of the java.net.DatagramSocket and java.net.MulticastSocket APIs with simpler and more modern implementations that are easy to maintain and debug.
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Reviewed-by: alanb, chegar, dfuchs
2020-05-12 21:51:53 +01:00
Patrick Concannon
42d2a7411b
8243408: Inconsistent Exceptions are thrown by MulticastSocket when sending a DatagramPacket to port 0
...
This fix adds a check for port == 0 to MulticastSocket's 2-arg send method to ensure a consistent exception is thrown across platforms
Reviewed-by: dfuchs
2020-04-22 20:41:56 +01:00
Patrick Concannon
8e21a2a1e4
8237890: DatagramPacket::getSocketAddress doesn't specify what happens if address or port are not set
...
This fix changes the default port of a DatagramPacket from -1 to 0, which changes the behaviour of calling getSocketAddress with no port set from throwing an IAE to returning an InetSocketAddress representing any local address with port 0.
Reviewed-by: alanb, chegar, dfuchs
2020-04-22 12:34:09 +01:00
Henry Jen
0278846eaa
Merge
2020-04-14 23:11:49 +00:00