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
Sean Coffey
a712b37bd0
8217364: Custom URLStreamHandler for jrt or file protocol can override default handler
...
Reviewed-by: redestad
2019-05-02 22:52:51 +01:00
Michael McMahon
70ea5ab6e1
8216978: Drop support for pre JDK 1.4 SocketImpl implementations
...
Reviewed-by: chegar, alanb, dfuchs
2019-05-02 17:29:10 +01:00
Chris Hegarty
1933437f12
8219446: Specify behaviour of timeout accepting methods of Socket and ServerSocket if timeout is negative
...
Reviewed-by: alanb, dfuchs
2019-03-26 17:02:11 +00:00
Aleksei Efimov
d6304e88e6
8223892: Improved handling of jar files
...
Reviewed-by: dfuchs, chegar, michaelm, rhalade, ahgross
2019-06-25 00:07:47 +01:00
Michael McMahon
e4553cb2fa
8217997: Better socket support
...
Reviewed-by: alanb, ahgross, chegar, igerasim
2019-03-25 17:15:27 +00:00
Jonathan Gibbons
2df0f4b4dd
8220249: fix headings in java.compiler
...
Reviewed-by: erikj, darcy
2019-03-20 15:35:26 -07:00
Chris Hegarty
42b8e78a7a
8153508: ContentHandler API contains link to private contentPathProp
...
Reviewed-by: dfuchs, vtewari
2019-03-20 08:33:33 +00:00
Chris Hegarty
5ee0711360
8220663: Incorrect handling of IPv6 addresses in Socket(Proxy.HTTP)
...
Reviewed-by: alanb, michaelm
2019-03-19 14:27:50 +00:00
Chris Hegarty
8de73b3995
8220719: Allow other named NetPermissions to be used
...
Reviewed-by: mullan, alanb
2019-03-17 08:26:38 +00:00
Alan Bateman
8743be63c4
8220493: Prepare Socket/ServerSocket for alternative platform SocketImpl
...
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Reviewed-by: chegar
2019-03-16 19:44:12 +00:00
Chris Hegarty
d79c644852
8179549: Typo in network properties documentation
...
Reviewed-by: clanger, coffeys
2019-03-15 14:50:57 +00:00
Arthur Eubanks
8c5313aa79
8220585: Incorrect code in MulticastSocket sample code
...
Sample code shows that String.length() can be passed to a DatagramPacket along with String.getBytes(), but is incorrect for non-ASCII Strings.
Reviewed-by: martin, chegar
2019-03-13 09:12:38 -07:00
Chris Hegarty
0f97ac953b
8184315: Typo in java.net.JarURLConnection.getCertificates() method documentation
...
Reviewed-by: dfuchs
2019-03-12 09:22:40 +00:00
Michael McMahon
0fc677a674
8216986: Remove unused code from SocksSocketImpl
...
Reviewed-by: alanb
2019-01-24 15:48:05 +00:00
Roger Calnan
edb879df0d
8215912: Various Typos in java.net Method Documentation
...
Reviewed-by: coffeys
2019-01-03 17:46:09 +00:00
Roger Calnan
5d8b0c4814
8182992: Typo in DatagramPacket constructor API doc
...
Reviewed-by: coffeys
2019-01-03 17:29:53 +00:00
Claes Redestad
53c47fe98e
8215990: Avoid using reflection to create common default URLStreamHandlers
...
Reviewed-by: alanb
2019-01-02 19:06:16 +01:00
Deepak kejriwal
6774e567aa
8214567: Use {@systemProperty} for definitions of system properties
...
8214569: Use {@systemProperty} for definitions of system properties
Reviewed-by: lancea, mchung, alanb, naoto
2018-12-26 17:09:19 +05:30
Claes Redestad
a3df1d618e
8215281: Use String.isEmpty() when applicable in java.base
...
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01:00
Daniel Fuchs
019a097385
8215008: Clear confusion between URL/URI paths and file system paths
...
Reviewed-by: alanb, chegar, martin
2018-12-11 15:09:15 +00:00
Roger Riggs
938b844088
8214971: Replace use of string.equals("") with isEmpty()
...
Reviewed-by: jlaskey, prappo, lancea, dfuchs, redestad
2018-12-07 11:51:17 -05:00
Priya Lakshmi Muthuswamy
a19bd10e83
8213921: Use {@systemProperty} tag for properties listed in "Networking Properties"
...
Reviewed-by: chegar
2018-11-28 09:37:03 +05:30