Ivan Gerasimov
53b2368d49
8241760: Typos: empty lines in javadoc, inconsistent indents, etc. (net and nio)
...
Reviewed-by: alanb, prappo, dfuchs
2020-03-30 13:59:16 -07:00
Patrick Concannon
94bb505c94
8235783: DatagramSocket::disconnect should allow an implementation to throw UncheckedIOException
...
Undocumented throwing of Errors changed to throw a more user friendly UncheckedIOException
Reviewed-by: alanb, chegar, dfuchs
2020-01-23 14:43:37 +00:00
Alan Bateman
d4c3278889
8236925: (dc) Upgrade DatagramChannel socket adaptor to extend MulticastSocket
...
Reviewed-by: dfuchs
2020-01-19 08:02:46 +00:00
Jesper Wilhelmsson
d34f561de0
Merge
2020-01-15 20:41:46 +01:00
Brian Burkhalter
79ec4004d7
8236661: launcher test PatchSystemModules.java start failing frequently after JDK-8234049
...
Reviewed-by: alanb, mchung
2020-01-14 11:06:03 -08:00
Alan Bateman
c6a4cea7a0
8236246: SelectorProvider support for creating a DatagramChannel that is not interruptible
...
Reviewed-by: chegar
2019-12-20 09:28:57 +00:00
Jorn Vernee
8f4f088a12
8234049: Implementation of Memory Access API (Incubator)
...
Co-authored-by: Vlaidmir Ivanov <vladimir.x.ivanov@oracle.com>
Reviewed-by: alanb, psandoz, chegar, rriggs, plevart, briangoetz, jrose, adinn, vlivanov
2019-12-12 22:59:57 +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
Alan Bateman
f3e90595aa
8234805: (dc) Remove JNI upcall from DatagramChannel.receive implementation
...
Reviewed-by: dfuchs, chegar
2019-11-30 16:21:19 +00:00
Alan Bateman
7e42642939
8231259: (dc) DatagramChannel::disconnect re-binds socket to the wildcard address (macOS)
...
Reviewed-by: dfuchs, chegar
2019-11-20 08:35:53 +00:00
Alan Bateman
27e0cdf12d
8236184: (dc) IP_MULTICAST_* and IP_TOS socket options not effective
...
Reviewed-by: dfuchs
2019-12-19 08:36:40 +00:00
Alan Bateman
090dc51a4e
8233435: (dc) DatagramChannel should allow IPv6 socket join IPv4 multicast groups (macOS, win)
...
Reviewed-by: dfuchs
2019-11-09 11:48:37 +00:00
Alan Bateman
fd077ea9ae
8233430: (sc) Socket adaptor restoring of blocking mode can override exception if socket closed
...
Reviewed-by: dfuchs, chegar
2019-11-03 14:07:43 +00:00
Alan Bateman
db4909bf99
8232673: (dc) DatagramChannel socket adaptor issues
...
Reviewed-by: dfuchs, chegar
2019-11-02 10:02:18 +00:00
Alan Bateman
0290476112
8212132: (dc) Remove DatagramChannelImpl finalize method
...
Reviewed-by: bpb, chegar, dfuchs, martin
2019-10-27 12:13:51 +00:00
Henry Jen
8d141f1048
Merge
2019-10-14 21:01:25 +00:00
Andrew Leonard
0dbfc97c05
8231717: Improve performance of charset decoding when charset is always compactable
...
Reviewed-by: rriggs, redestad, alanb
2019-10-10 10:28:55 +01:00
Daniel Fuchs
a690af3832
8231260: (dc) DatagramChannel::disconnect changes the port of the local address to 0 (lnx)
...
DatagramChannel::disconnect will attempt to rebind to the original port if the local port switches back to 0 after the association is disolved by the system.
Reviewed-by: alanb, chegar, fweimer
2019-10-09 17:38:58 +01:00
Alan Bateman
51e94d8dac
8231921: (se) SelectorImpl.register does not need to set the attachment when it is null
...
Reviewed-by: bpb
2019-10-08 10:58:36 +01:00
Alan Bateman
38bdacafbc
8231603: (se) Selector implementations do not need to use cancelledKeys
...
Reviewed-by: chegar, bpb
2019-10-02 09:16:18 +01:00
Naoto Sato
28b972e5ce
8229960: Remove sun.nio.cs.map system property
...
Reviewed-by: alanb
2019-09-10 12:51:05 -07:00
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
5c25e2a6fb
8211360: Change #if DEF to #if defined(DEF)
...
Reviewed-by: bpb, vtewari
2019-08-21 13:49:16 -07:00
Andrew Dinn
047b8bfeb7
8224974: Implement JEP 352
...
Non-Volatile Mapped Byte Buffers
Reviewed-by: alanb, kvn, bpb, gromero, darcy, shade, bulasevich, dchuyko
2019-08-20 10:11:53 +01:00
Brian Burkhalter
3155cd829b
8227609: (fs) Files.newInputStream(...).skip(n) should allow skipping beyond file size
...
Reviewed-by: alanb, lancea, fweimer
2019-07-30 09:46:06 -07:00
Claes Redestad
78a1c8ea0a
8227587: Add internal privileged System.loadLibrary
...
Reviewed-by: rriggs, mchung, chegar
2019-07-17 12:35:46 +02:00
Brian Burkhalter
c6c82dd736
8227080: (fs) Files.newInputStream(...).skip(n) is slow
...
Reviewed-by: sbordet, rriggs, fweimer
2019-07-03 14:37:19 -07:00
Michael McMahon
247a6a2ce4
8216417: cleanup of IPv6 scope-id handling
...
Reviewed-by: alanb, chegar, dfuchs
2019-06-13 09:10:51 +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
Alan Bateman
94d1d0d3d4
8223353: (ch) Change channel close implementation to not wait for I/O threads
...
Reviewed-by: dfuchs, chegar
2019-05-08 08:15:04 +01:00
Alan Bateman
2998236d83
8222774: (ch) Replace uses of stateLock and blockingLock with j.u.c. locks
...
Reviewed-by: dfuchs, bpb, martin
2019-04-25 10:41:49 +01:00
Brian Burkhalter
69ca2e9e27
8220477: Channels.newWriter() does not close if underlying channel throws an IOException
...
Reviewed-by: alanb
2019-04-17 08:12:19 -07:00
Andrew Dinn
1c7d214f53
8221397: Support implementation-defined Map Modes
...
Allow implementation-defined extensions to FileChannel MapMode enum
Reviewed-by: alanb
2019-04-09 16:21:20 +01:00
Alan Bateman
e91c1ec7a6
8223326: Regression introduced by CPU sync: java.security.AccessControlException: access denied ("java.net.NetPermission" "setSocketImpl")
...
Reviewed-by: dfuchs, alanb
2019-05-03 19:42:28 +01:00
Alan Bateman
3a4d5db248
8221252: (sc) SocketChannel and its socket adaptor need to handle connection reset
...
Reviewed-by: bpb
2019-03-22 11:35:35 +00:00
Alan Bateman
c306e3f059
8220738: (sc) Move ServerSocketChannelImpl remaining native method to Net
...
Reviewed-by: bpb
2019-03-16 12:31:31 +00:00
Alan Bateman
779991a9c8
8217500: (sc) Move SocketChannelImpl's remaining native methods to Net
...
Reviewed-by: bpb
2019-01-23 13:16:16 +00:00
Alan Bateman
755872aa82
8217461: (ch) Add Net.available to return the number of bytes in the socket input buffer
...
Reviewed-by: clanger, michaelm
2019-01-22 16:39:52 +00:00
Alan Bateman
bb1e1c7120
8217451: ExtendedSocketOptions should encapsulate support for SO_FLOW_SLA
...
Reviewed-by: michaelm, chegar
2019-01-22 12:32:19 +00:00
Jesper Wilhelmsson
a8c5f1e59a
Merge
2019-01-15 22:54:09 +01:00
Naoto Sato
1dc9d4d9cb
8216140: Correct UnicodeDecoder U+FFFE handling
...
Reviewed-by: rriggs
2019-01-11 14:24:23 -08:00
Henry Jen
def1ac3acc
Merge
2018-12-13 11:51:06 -08:00
Claes Redestad
a3df1d618e
8215281: Use String.isEmpty() when applicable in java.base
...
Reviewed-by: dfuchs, alanb
2018-12-13 15:31:05 +01: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
Alan Bateman
f1202dc4dc
8209152: (so) ServerSocketChannel::supportedOptions includes IP_TOS
...
Reviewed-by: chegar
2018-09-05 11:52:08 +01:00
Brian Burkhalter
68f33ebd5a
8206290: Better FileChannel transfer performance
...
Reviewed-by: alanb, rhalade, mschoene
2018-09-25 16:49:51 -07:00
Alan Bateman
807c4ae4a3
8205612: (fc) Files.readAllBytes fails with ClosedByInterruptException when interrupt status set
...
Reviewed-by: bpb
2018-06-26 08:13:02 +01: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