Naoto Sato
1b24cf800f
8174270: Consolidate ICU sources in one location
...
Reviewed-by: srl, joehw
2020-01-13 08:05:59 -08:00
Kiran Sidhartha Ravikumar
a1b2e1042c
5064980: URI compareTo inconsistent with equals for mixed-case escape sequences
...
Reviewed-by: chegar, dfuchs
2019-12-17 16:06:27 +00:00
Daniel Fuchs
7135b5dd9c
8235141: Specify the required standard socket options for the socket types in the java.net package
...
Reviewed-by: alanb, chegar
2019-12-10 13:22:52 +00:00
Patrick Concannon
12e43e216e
8233191: MulticastSocket joinGroup/leaveGroup do not specify their behavior when the outgoing interface has not been set
...
Clarifies the behaviour of 2-arg joinGroup/leaveGroup methods when null is passed for the NetworkInteface argument. The fix also clarifies what is returned by getInterface() and getNetworkInterface() methods when no previous NetworkInterface has been set.
Reviewed-by: alanb, chegar, dfuchs
2019-12-09 15:54:44 +00:00
Patrick Concannon
22e26b2a81
8234148: DatagramSocket.setOption/getOption/supportedOption should support multicast options
...
Fix adds multicast socket options to DatagramSocket
Reviewed-by: alanb, dfuchs, vtewari
2019-12-09 14:25:37 +00:00
Julia Boes
3ea25ecdfe
8233319: Deprecate MulticastSocket methods that operate on java.net.InetAddress
...
Deprecate any method that operates on InetAddress as well as getLoopbackMode and setLoopbackMode
Reviewed-by: chegar, dfuchs, alanb
2019-12-09 12:06:26 +00:00
Alan Bateman
e7d68cd13b
8235193: (dc) Remove JNI overhead from DatagramChannel.send implementation
...
Reviewed-by: chegar
2019-12-04 16:37:00 +00:00
Ivan Gerasimov
cd589d8469
8234147: Avoid looking up standard charsets in core libraries
...
Reviewed-by: alanb
2019-12-01 15:29:37 -08:00
Patrick Concannon
55da7d34c9
8233307: MulticastSocket getOption(IP_MULTICAST_IF) returns interface when not set
...
The MulticastSocket method getOption has been changed to conform to the behavior described in StandardSocketOptions.IP_MULTICAST_IF.
Reviewed-by: chegar, dfuchs
2019-11-28 16:49:52 +00:00
Daniel Fuchs
8333ea85fa
8233296: MulticastSocket getOption/setOption inverts the value of IP_MULTICAST_LOOP
...
MulticastSocket.getOption(StandardSocketOption.IP_MULTICAST_LOOP) now returns true if loopback mode is enabled, and MulticastSocket.setOption(StandardSocketOption.IP_MULTICAST_LOOP, true) enables loopback mode. No other behavioral changes.
Reviewed-by: alanb, chegar
2019-11-22 11:52:48 +00:00
Julia Boes
a8a2246158
8234335: Remove line break in class declaration in java.base
...
Remove line break in class declarations where applicable
Reviewed-by: rriggs, lancea
2019-11-21 09:10:21 +00:00
Patrick Concannon
e636c69e61
8234103: DatagramSocketImpl::socket is not needed
...
DatagramSocketImpl has a socket field that links back to the DatagramSocket. This is only used to figure out whether multicasting is supported or not. This fix replaces it with a boolean isMulticast.
Reviewed-by: alanb, chegar, dfuchs
2019-11-20 10:13:10 +00:00
Daniel Fuchs
be18a54cb1
8233141: DatagramSocket.send doesn't specify exception thrown when no target address
...
DatagramSocket and MulticastSocket send methods are changed to throw IllegalArgumentException if no target address can be determined.
Reviewed-by: alanb
2019-11-18 16:48:05 +00:00
Alan Bateman
db4909bf99
8232673: (dc) DatagramChannel socket adaptor issues
...
Reviewed-by: dfuchs, chegar
2019-11-02 10:02:18 +00:00
Julia Boes
012dffcd27
8231632: HttpURLConnection::usingProxy could specify that it may lazily evaluate the fact
...
Modified method description to disambiguate when false is returned and altered implementation
Reviewed-by: dfuchs, chegar, vtewari
2019-11-01 12:57:01 +00:00
Patrick Concannon
c497b2b066
8231719: Correct contradictions in timeout range descriptions
...
Clarified verbiage in method descriptions.
Reviewed-by: chegar, dfuchs
2019-10-16 11:12:47 +01:00
Julia Boes
f8440c33d2
8225499: InetSocketAddress::toString not friendly to IPv6 literal addresses
...
Enclose IPv6 literal in brackets and adjust string format for unresolved addresses
Reviewed-by: dfuchs, chegar
2019-10-17 08:56:06 +01:00
Ivan Gerasimov
463d6e9640
8231859: Extra dash after the exception name in @throws clause of javadoc
...
Reviewed-by: weijun
2019-10-16 18:47:11 -07:00
Ivan Gerasimov
31afddccae
8230407: SocketPermission and FilePermission action list allows leading comma
...
Co-authored-by: Chris Hegarty <chris.hegarty@oracle.com>
Reviewed-by: chegar
2019-10-16 14:32:17 -07:00
Henry Jen
8d141f1048
Merge
2019-10-14 21:01:25 +00:00
Patrick Concannon
dcceed10b6
8222829: DatagramSocket.setSoTimeout does not specify IAE when timeout is negative
...
Clarifies behaviour of setSoTimeout() method when given negative timeout value.
Reviewed-by: alanb, chegar, dfuchs
2019-10-08 15:03:20 +01:00
Patrick Concannon
ee87f2a7a4
8230946: Clarify security manager behaviour of a connected DatagramSocket and DatagramChannel
...
Update to API, to clarify that packets are dropped in the receive method of non-connected sockets if they fail the security manager checks
Reviewed-by: alanb, chegar, dfuchs
2019-10-08 14:56:46 +01:00
Ivan Gerasimov
680fceb9ba
8230415: Avoid redundant permission checking in FilePermissionCollection and SocketPermissionCollection
...
Reviewed-by: mullan
2019-09-27 17:50:09 -07:00
Julia Boes
b15b322cf3
8230648: Replace @exception tag with @throws in java.base
...
Minor coding style update of javadoc tag in any file in java.base
Reviewed-by: prappo, lancea
2019-09-20 11:07:52 +01:00
Jaikiran Pai
c84e19f3ca
8177389: Hyphen "-" should be removed in URL class documentation
...
Javadoc of java.net.URL constructor updated to remove an unnecessary hyphen
Reviewed-by: dfuchs
2019-08-24 09:31:15 +05:30
Daniel Fuchs
5399449a43
8230694: http.keepAlive system property is inconsistently/incorrectly documented
...
Trivially fixed the net-properties.html file
Reviewed-by: alanb
2019-09-06 14:04:44 +01:00
Jaikiran Pai
6fa4babbb2
8230310: SocksSocketImpl should handle the IllegalArgumentException thrown by ProxySelector.select usage
...
Catch the IAE thrown by ProxySelector.select and wrap it into a IOException
Reviewed-by: dfuchs
2019-08-28 20:05:43 +05:30
Joe Darcy
9d764ee48e
8229997: Apply java.io.Serial annotations in java.base
...
Reviewed-by: alanb, rriggs
2019-08-29 16:31:34 -07:00
Ivan Gerasimov
3ed845784d
8226831: Use Objects.equals() when appropriate
...
Reviewed-by: rriggs, bpb
2019-08-27 14:44:21 -07:00
Jaikiran Pai
1d67d474a5
8177648: getResponseCode() throws IllegalArgumentException caused by protocol error while following redirect
...
Reviewed-by: michaelm, chegar, dfuchs
2019-08-26 12:25:49 +01:00
Michael McMahon
ec24017b02
8222363: Update ServerSocket.isBound spec to reflect implementation after close
...
Reviewed-by: dfuchs
2019-08-26 11:46:54 +01:00
Claes Redestad
1d8c827e12
8228394: Cleanup unused java.net SharedSecrets classes
...
Reviewed-by: alanb, chegar
2019-07-19 15:36:23 +02:00
Mikael Vidstedt
f08a9de3b2
Merge
2019-07-17 04:33:37 -07:00
Claes Redestad
78a1c8ea0a
8227587: Add internal privileged System.loadLibrary
...
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Claes Redestad
7f1f9a50ae
8225239: Refactor NetworkInterface lookups
...
Reviewed-by: michaelm, dfuchs, chegar
2019-07-05 13:40:29 +02:00
Patrick Concannon
5629241827
8226730: Missing @
in code tags
...
Reviewed-by: bpb
2019-06-25 16:34:08 +01:00
Michael McMahon
247a6a2ce4
8216417: cleanup of IPv6 scope-id handling
...
Reviewed-by: alanb, chegar, dfuchs
2019-06-13 09:10:51 +01:00
Chris Hegarty
5b9c330db8
8225651: Missed the @
in a couple of code tags of SocketImpl
...
Reviewed-by: alanb, dfuchs
2019-06-12 16:10:39 +01:00
Chris Hegarty
b6696bad84
8225426: Replace plain with system-default in Socket and ServerSocket
...
Reviewed-by: alanb, dfuchs
2019-06-11 09:21:34 +01:00
Daniel Fuchs
c9da623b6f
8221518: Normalize normalization
...
Reviewed-by: chegar, igerasim, ahgross, rhalade
2019-04-10 15:49:24 +01:00
Chris Hegarty
752cefa3f2
8216988: ServerSocket.implAccept should include warnings about Socket type/state
...
Reviewed-by: alanb
2019-06-07 11:51:27 +01:00
Chris Hegarty
cc353da44d
8225037: java.net.JarURLConnection::getJarEntry() throws NullPointerException
...
Reviewed-by: coffeys, vtewari
2019-06-05 13:59:44 +01:00
Chris Hegarty
9fbdec42c4
8225214: Socket.getOption(SocketOption) not returning the expected type for the StandardSocketOptions.SO_LINGER
...
Reviewed-by: alanb
2019-06-05 12:02:01 +01:00
Chris Hegarty
53b022d9eb
8224973: URLStreamHandler.openConnection(URL,Proxy) - spec and implementation mismatch
...
Reviewed-by: alanb, dfuchs
2019-05-31 15:02:45 +01:00
Chris Hegarty
3ab3ffd29f
8224730: java.net.ServerSocket::toString not invoking checkConnect
...
Reviewed-by: alanb
2019-05-30 12:36:04 +01:00
Alan Bateman
7e14aeb133
8221481: Reimplement the Legacy Socket API
...
Reviewed-by: michaelm, chegar
2019-05-30 07:19:19 +01:00
Chris Hegarty
bc24d17e80
8224477: java.net socket types new-style socket option methods - spec and impl mismatch
...
Reviewed-by: alanb
2019-05-29 13:58:05 +01:00
Arthur Eubanks
4b7ada1a92
8223214: Inet6AddressImpl.loopbackAddress() should choose loopback address that is available
...
Reviewed-by: chegar
2019-05-15 09:15:59 -07:00
Arthur Eubanks
23301277c5
8223737: Fix HostsFileNameService for IPv6 literal addresses
...
Reviewed-by: chegar, msheppar
2019-05-10 17:13:02 -07:00
Michael McMahon
7e142d54bf
8223457: java.net.ServerSocket protected constructor should throw NPE if impl null
...
Reviewed-by: dfuchs
2019-05-07 15:39:33 +01:00