112 Commits

Author SHA1 Message Date
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
Joe Darcy
5d1cc7fc01 8213911: Use example.com in java.net and other examples
Reviewed-by: prappo, chegar, rriggs, mullan
2018-11-27 11:28:47 -08:00
Sean Coffey
6e905c8389 8214295: Populate handlers while holding streamHandlerLock
Reviewed-by: chegar
2018-11-27 11:09:53 +00:00
Sean Coffey
7b8898d03c 8213942: URLStreamHandler initialization race
Reviewed-by: alanb, chegar, prappo
2018-11-21 15:09:27 +00:00
Michael McMahon
1b34ea35c9 8213616: URLPermission with query or fragment behaves incorrectly
Reviewed-by: chegar, dfuchs
2018-11-15 11:26:46 +00:00
Pavel Rappo
8c361a3e74 8213490: Networking area typos and inconsistencies cleanup
Reviewed-by: alanb, chegar, dfuchs
2018-11-13 12:24:34 +00:00
Xue-Lei Andrew Fan
3e9941ea2b 8212261: Add SSLSession accessors to HttpsURLConnection and SecureCacheResponse
Reviewed-by: mullan, chegar
2018-11-09 08:24:38 -08:00
Chris Hegarty
4187dff26a 8213418: Socket/ServerSocket supportedOptions does not work with custom SocketImpl
Reviewed-by: alanb, dfuchs
2018-11-08 16:16:57 +00:00
Mandy Chung
9ffe7e1205 8211122: Reduce the number of internal classes made accessible to jdk.unsupported
Reviewed-by: alanb, dfuchs, kvn
2018-11-06 10:01:16 -08:00
Brian Burkhalter
cb73851579 8213210: Change ServerSocket(SocketImpl impl) constructor to protected access
Reviewed-by: alanb, chegar
2018-11-01 09:34:59 -07:00
Mandy Chung
5e6d6b8642 8207146: Rename jdk.internal.misc.Unsafe::xxxObject to xxxReference
Reviewed-by: dholmes, thartmann
2018-10-22 17:00:04 -07:00
Vyom Tewari
3bafe65a75 8212114: Reconsider the affect on closed streams resulting from 8189366
Reviewed-by: chegar, dfuchs
2018-10-22 15:20:43 +05:30
Weijun Wang
a58b68027b 8194534: Manifest better support
Reviewed-by: mchung, igerasim
2018-04-17 15:55:49 +08:00
Vyom Tewari
627e310ba5 8199110: Address Internet Addresses
Reviewed-by: chegar, rriggs, igerasim, skoivu, rhalade
2018-03-30 08:37:31 +05:30
Vyom Tewari
f4df5cb4c3 8189366: SocketInputStream.available() should check for eof
Reviewed-by: chegar
2018-10-12 12:37:13 +05:30
Michael McMahon
b5fb6b3566 8210311: IllegalArgumentException in CookieManager - Comparison method violates its general contract
Reviewed-by: chegar, dfuchs
2018-09-13 12:07:01 +01:00
Sean Mullan
59d3b2ccfa 6899533: SecureClassLoader and URLClassLoader have unnecessary check for createClassLoader permission
Remove code that is no longer necessary now that pre-JDK 1.2 SecurityManager methods are not supported.

Reviewed-by: mchung
2018-09-07 08:02:51 -04:00
Joe Darcy
07cb147927 8208060: Additional corrections of serial-related declarations
Reviewed-by: rriggs, lancea
2018-07-20 14:46:43 -07:00
Daniel Fuchs
ed19b48e71 8205397: InetAddress has wrong declaration for readObjectNoData
Reviewed-by: alanb, rriggs
2018-06-27 20:19:59 +01:00
Roger Riggs
4098f2560a 8066709: Make some JDK system properties read only
Reviewed-by: lancea, sundar, bchristi, weijun, mchung, alanb, mullan
2018-06-27 09:36:34 -04:00
Weijun Wang
60ff77bd97 8201815: Use Mozilla Public Suffix List
Reviewed-by: michaelm, erikj, ihse
2018-06-26 18:55:48 +08:00
Michael McMahon
1d79d38007 8204233: Add configurable option for enhanced socket IOException messages
Reviewed-by: alanb, chegar
2018-06-22 18:10:20 +01:00
Alan Bateman
79ed34634b 8203937: Not possible to read data from socket after write detects connection reset
Reviewed-by: chegar
2018-06-06 12:17:01 +01:00
Jaikiran Pai
3e47229057 8201545: InetAddress.getByName/getAllByName should clarify empty String behavior
Reviewed-by: chegar
2018-04-30 16:13:30 +01:00
Chris Hegarty
a3b61fd4c7 8197564: HTTP Client implementation
Co-authored-by: Daniel Fuchs <daniel.fuchs@oracle.com>
Co-authored-by: Michael McMahon <michael.x.mcmahon@oracle.com>
Co-authored-by: Pavel Rappo <pavel.rappo@oracle.com>
Reviewed-by: chegar, dfuchs, michaelm, prappo
2018-04-17 08:54:17 -07:00
Martin Buchholz
2137690f0a 8200131: Improve lazy init of InetAddress.canonicalHostName and NativeObject.pageSize
Reviewed-by: alanb
2018-04-05 09:37:19 -07:00
Martin Buchholz
184bbf01dd 8200125: Fix some classloader/module typos
Reviewed-by: alanb
2018-04-05 09:33:27 -07:00
Jonathan Gibbons
afec7bd7f2 8200664: fix broken links in java.base docs
Reviewed-by: alanb, joehw
2018-04-04 14:42:53 -07:00
Alan Bateman
fc927f60c3 8199329: Remove code that attempts to read bytes after connection reset reported
Reviewed-by: redestad, clanger, chegar
2018-03-15 11:02:22 +00:00