Brian Burkhalter
6445ee46b5
5041655: (ch) FileLock: negative param and overflow issues
...
Reviewed-by: alanb
2022-02-22 17:24:15 +00:00
Brian Burkhalter
130cf46dcb
4750574: (se spec) Selector spec should clarify calculation of select return value
...
Reviewed-by: alanb
2022-02-03 19:12:27 +00:00
Brian Burkhalter
d366d15d67
8280903: javadoc build fails after JDK-4774868
...
Reviewed-by: lancea
2022-01-28 23:18:20 +00:00
Brian Burkhalter
95ee9bf7be
4774868: (fc spec) Unclear spec for FileChannel.force
...
Reviewed-by: alanb
2022-01-28 17:12:42 +00:00
Brian Burkhalter
f4575e4052
8279946: (ch) java.nio.channels.FileChannel tryLock and write methods are missing @throws NonWritableChannelException
...
Reviewed-by: alanb
2022-01-25 18:02:18 +00:00
Alan Bateman
2dbb936da9
8279339: (ch) Input/Output streams returned by Channels factory methods don't support concurrent read/write ops
...
Reviewed-by: lancea, bpb
2022-01-06 08:12:53 +00:00
Markus Karg
9642629d15
8276779: (ch) InputStream returned by Channels.newInputStream should have fast path for SelectableChannels
...
Reviewed-by: lancea, alanb
2021-12-04 09:27:23 +00:00
Brian Burkhalter
7fc3a8d052
8275149: (ch) ReadableByteChannel returned by Channels.newChannel(InputStream) throws ReadOnlyBufferException
...
Reviewed-by: alanb
2021-10-15 22:58:21 +00:00
Markus Karg
185557423d
8273038: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel)
...
Reviewed-by: alanb
2021-09-08 11:22:47 +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
Michael McMahon
d9e19f16f0
8265226: (dc) API note in DatagramChannel.open should link to StandardProtocolFamily.UNIX
...
Reviewed-by: iris, alanb
2021-04-19 09:31:52 +00:00
Michael McMahon
4661690981
8262883
: doccheck: Broken links in java.base
...
Reviewed-by: lancea
2021-04-14 15:00:14 +00:00
Brian Burkhalter
8fa34e4043
8241619: (fs) Files.newByteChannel(path, Set.of(CREATE_NEW, READ)) does not throw a FileAlreadyExistsException when the file exists
...
Reviewed-by: alanb
2021-03-23 16:03:59 +00:00
Alex Blewitt
77ebc11038
8263892: More modifier order fixes in java.base
...
Reviewed-by: naoto, iris, redestad
2021-03-19 21:06:24 +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
Jonathan Gibbons
3088e1e62e
8262430: doclint warnings in java.base module
...
Reviewed-by: alanb, chegar, dfuchs, lancea
2021-02-26 15:12:51 +00:00
Hamlin Li
a180a38618
8260694: (fc) Clarify FileChannel.transferFrom to better describe "no bytes available" case
...
Reviewed-by: alanb
2021-02-19 12:35:35 +00:00
Michael McMahon
9d0ee66f2d
8255758: JEP 380 spec clarifications
...
Reviewed-by: dfuchs, alanb
2020-11-17 12:12:08 +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
Fernando Guallini
f813a28b95
8254692: (se) Clarify the behaviour of the non-abstract SelectorProvider::inheritedChannel
...
Reviewed-by: chegar, bpb, alanb
2020-10-21 14:54:19 +00:00
Michael McMahon
0f7aeed416
8241305: Add protocol specific factory creation methods to SocketChannel and ServerSocketChannel
...
Reviewed-by: alanb, chegar, dfuchs
2020-05-17 21:15:33 +01:00
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
Brian Burkhalter
e2f4319171
4617266: (se spec) SelectionKey.OP_READ/OP_WRITE documentation errors
...
Reviewed-by: lancea, alanb, darcy
2020-03-06 10:34:31 -08:00
Alan Bateman
d4c3278889
8236925: (dc) Upgrade DatagramChannel socket adaptor to extend MulticastSocket
...
Reviewed-by: dfuchs
2020-01-19 08:02:46 +00: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
Brian Burkhalter
adf0d4eae8
8164993: (ch) ReadableByteChannel should note a possible IllegalArgumentException
...
Reviewed-by: alanb, darcy
2019-11-22 09:00:16 -08: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
Brian Burkhalter
f2e8dc42e2
8146298: (dc spec) connect and disconnect methods should specify that they may block
...
Reviewed-by: alanb, chegar, dfuchs, darcy
2019-11-14 09:06:43 -08:00
Patrick Concannon
3c1310a60a
8231570: (dc) Clarify implicit bind behavior of DatagramChannel
...
Update to DatagramChannel spec to make it clear that SecurityException can be thrown in connect send and receive methods
Reviewed-by: alanb, chegar, dfuchs
2019-10-25 12:05:56 +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
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
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
Deepak Kejriwal
9a193f38a3
8214563: Use {@systemProperty} in specification of system properties in java.nio packages
...
8214565: Use {@systemProperty} for definitions of system properties
Reviewed-by: alanb, rriggs
2019-05-23 12:36:54 +05:30
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
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
Pavel Rappo
8c361a3e74
8213490: Networking area typos and inconsistencies cleanup
...
Reviewed-by: alanb, chegar, dfuchs
2018-11-13 12:24:34 +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
Ivan Gerasimov
2ae27da3bc
8200381: Typos in javadoc - missing verb "be" and alike
...
Reviewed-by: lancea, darcy, wetmore
2018-10-02 10:19:07 -07:00
Michael Skells
df509b1b16
8199124: (fs) Reduce allocation for file system methods that are invoked with no open options
...
Reviewed-by: alanb
2018-06-21 11:10:55 -07:00
Alan Bateman
db61a602f6
8199433: (se) select(Consumer<SelectionKey> action) as alternative to selected-key set
...
Reviewed-by: bpb
2018-06-16 10:10:54 +01:00
Alan Bateman
2466623e45
6350055: (se) SelectionKey.interestOps variants to atomically update interest ops
...
Co-authored-by: David M Lloyd <david.lloyd@redhat.com>
Reviewed-by: bpb
2018-06-07 09:18:39 +01:00
Alan Bateman
33b921f25d
8201315: (se) Allow SelectableChannel.register to be invoked while selection operation is in progress
...
Reviewed-by: bpb
2018-04-18 10:20:09 +01:00
Brian Burkhalter
37f1b2b1e3
8198753: (dc) DatagramChannel throws unspecified exceptions
...
Reviewed-by: alanb
2018-03-22 12:29:52 -07:00
Alan Bateman
13dd8888d2
8198562: (ch) Separate blocking and non-blocking code paths (part 1)
...
8198754: (ch) Separate blocking and non-blocking code paths (part 2)
Reviewed-by: bpb
2018-02-28 09:54:38 +00:00
Alan Bateman
e3b7698786
8196956: (ch) More channels cleanup
...
Reviewed-by: rriggs, prappo, bpb
2018-02-08 10:55:21 +00:00
Joe Wang
4f080a83af
8183743: Umbrella: add overloads that take a Charset parameter
...
Reviewed-by: alanb, rriggs
2017-12-12 11:10:12 -08:00
Brian Burkhalter
87eb47a3c8
8190500: (ch) ReadableByteChannelImpl::read and WritableByteChannelImpl::write might not throw ClosedChannelException as specified
...
Explicitly verify that the channel is open
Reviewed-by: alanb
2017-11-03 10:18:27 -07:00
Christoph Dreis
7f79fffba6
8190382: fix small typographic errors in comments
...
Reviewed-by: martin
2017-10-30 17:49:33 -07:00