Brian Burkhalter
07b1f1c282
8274548: (fc) FileChannel gathering write fails with IOException "Invalid argument" on macOS 11.6
...
Reviewed-by: alanb
2021-10-12 15:25:53 +00:00
Florian Weimer
5762ec2587
8274780: ChannelInputStream.readNBytes(int) incorrectly calls readAllBytes()
...
Reviewed-by: alanb, bpb
2021-10-07 07:02:01 +00:00
Brian Burkhalter
0786d8b7b3
8268435: (ch) ChannelInputStream could override readAllBytes
...
Reviewed-by: alanb, lancea
2021-10-01 20:15:44 +00:00
Brian Burkhalter
1fdc656084
8274175: (fc) java/nio/channels/FileChannel/Transfer2GPlus.java still failed in timeout
...
Reviewed-by: alanb
2021-09-23 15:57:12 +00:00
Brian Burkhalter
81d416477f
8272759: (fc) java/nio/channels/FileChannel/Transfer2GPlus.java failed in timeout
...
Reviewed-by: alanb
2021-09-22 16:29:04 +00:00
Markus Karg
185557423d
8273038: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel)
...
Reviewed-by: alanb
2021-09-08 11:22:47 +00:00
Mark Sheppard
d6d6c0692b
8273246: Amend the test java/nio/channels/DatagramChannel/ManySourcesAndTargets.java to execute in othervm mode
...
Reviewed-by: alanb
2021-09-07 22:18:23 +00:00
Brian Burkhalter
428d51694f
8140241: (fc) Data transfer from FileChannel to itself causes hang in case of overlap
...
Reviewed-by: alanb
2021-08-12 15:27:09 +00:00
Brian Burkhalter
b53828b7c2
8272047: java/nio/channels/FileChannel/Transfer2GPlus.java failed with Unexpected transfer size: 2147418112
...
Reviewed-by: naoto, alanb
2021-08-09 16:50:50 +00:00
Brian Burkhalter
e2c5bfe083
8271308: (fc) FileChannel.transferTo() transfers no more than Integer.MAX_VALUE bytes in one call
...
Reviewed-by: alanb, vtewari
2021-08-05 16:10:04 +00:00
Weijun Wang
640a2afda3
8267184: Add -Djava.security.manager=allow to tests calling System.setSecurityManager
...
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Reviewed-by: dholmes, alanb, dfuchs, mchung, mullan, prr
2021-05-24 16:55:55 +00:00
Alan Bateman
be4f25b0c8
8266369: (se) Add wepoll based Selector
...
Reviewed-by: chegar, michaelm, vtewari, dfuchs, bpb
2021-05-08 07:14:36 +00:00
Brian Burkhalter
d1b28e7ad0
8265231: (fc) ReadDirect and WriteDirect tests fail after fix for JDK-8264821
...
Reviewed-by: alanb, dcubed, darcy, chegar
2021-04-14 19:53:19 +00:00
Brian Burkhalter
7e4cd48020
8264821: DirectIOTest fails on a system with large block size
...
Reviewed-by: chegar
2021-04-14 15:33:48 +00:00
Conor Cleary
784f1c1f74
8264200: java/nio/channels/DatagramChannel/SRTest.java fails intermittently
...
Reviewed-by: dfuchs, rriggs, msheppar
2021-04-13 14:06:10 +00:00
Michael McMahon
9ffabf30c3
8252971: WindowsFileAttributes does not know about Unix domain sockets
...
Reviewed-by: alanb
2021-02-12 13:08:08 +00:00
Brent Christian
b2f035549a
8253497: Core Libs Terminology Refresh
...
Reviewed-by: naoto, kcr, rriggs, joehw, bpb, smarks, alanb
2020-12-16 23:09:20 +00:00
Michael McMahon
b35401d6a7
8257966: Instrument test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/StateTestService.java
...
Reviewed-by: alanb, dfuchs
2020-12-10 16:02:25 +00:00
Michael McMahon
6948456dbf
8256461: AbstractFileSystemProvider.getSunPathForSocketCall for empty Path returns '.'
...
Reviewed-by: dfuchs, alanb
2020-11-18 08:43:51 +00:00
Daniel Fuchs
9dbbe83a06
8256146
: Cleanup test/jdk/java/nio/channels/DatagramChannel/Connect.java
...
Reviewed-by: alanb
2020-11-17 12:21:11 +00:00
Michael McMahon
9d0ee66f2d
8255758: JEP 380 spec clarifications
...
Reviewed-by: dfuchs, alanb
2020-11-17 12:12:08 +00:00
Conor Cleary
d5138d1fce
8255604: java/nio/channels/DatagramChannel/Connect.java fails with java.net.BindException: Cannot assign requested address: connect
...
Reviewed-by: dfuchs, michaelm
2020-10-29 19:08:06 +00:00
Conor Cleary
ea26ff1142
8247614: java/nio/channels/DatagramChannel/Connect.java timed out
...
Reviewed-by: dfuchs, alanb
2020-10-29 09:57:09 +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
Rahul Yadav
d8355e0281
8249773: Upgrade ReceiveISA.java test to be resilient to failure due to stray packets and interference
...
This fix upgrades java/nio/channels/DatagramChannel/ReceiveISA.java so it can handle interference from stray packets.
Reviewed-by: alanb, dfuchs
2020-08-13 17:48:15 +01:00
Patrick Concannon
a096c0a83f
8240901: Add a test to check that large datagrams are sent/received on the network correctly
...
This fix updates `java/net/DatagramSocket/SendReceiveMaxSize.java` and `java/net/DatagramSocket/SendReceiveMaxSize.java` to check (on all platforms) that the sending/receiving of large datagrams across a network are sent, fragmented, and re-assembled correctly
Reviewed-by: alanb, dfuchs
2020-08-13 15:40:13 +01:00
Conor Cleary
831f23ee86
8246707: (sc) SocketChannel.read/write throws AsynchronousCloseException on closed channel
...
This fix addresses an issue where an AsynchronousCloseException was being thrown instead of a ChannelClosedException when SocketChannel.write() is called on a closed SocketChannel.
Reviewed-by: alanb, chegar, dfuchs
2020-08-12 12:32:54 +01:00
Patrick Concannon
7fd5cb6117
8242885: PlainDatagramSocketImpl doesn’t allow for the sending of IPv6 datagrams on macOS with sizes between 65508-65527 bytes
...
This fix changes the current max size for IPv6 datagrams on macOS from it's current size of 65507, which is the IPv4 limit, to 65527, the actual limit for IPv6 on macOS
Reviewed-by: alanb, dfuchs, vtewari
2020-07-31 12:42:32 +01:00
Patrick Concannon
2dda9965cd
8246164: SendDatagramToBadAddress.java and ChangingAddress.java should be changed to explicitly require the new DatagramSocket implementation
...
This fix updates these tests to explicitly run with `-Djdk.net.usePlainDatagramSocketImpl=false` to avoid false failures when running all tests with a global jtreg -Djdk.net.usePlainDatagramSocketImpl switch.
Reviewed-by: vtewari
2020-07-31 12:12:49 +01:00
Jie Fu
fd7123b268
8247463: java/nio/channels/etc/OpenAndConnect.java fails due to IPv6 not available
...
Reviewed-by: dfuchs, alanb
2020-06-13 14:29:08 +08:00
Mikael Vidstedt
071bd521bc
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
...
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Vladimir A Ivanov
93fcbec20a
8243099: SO_INCOMING_NAPI_ID support
...
Add support for the SO_INCOMING_NAPI_ID socket option to jdk.net.ExtendedSocketOptions
Co-authored-by: Dinesh Kumar <dinesh.kumar@intel.com>
Reviewed-by: alanb, chegar, dfuchs, vtewari, pconcannon
2020-05-20 15:12:28 -07: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
Patrick Concannon
378aef32ab
8240533: Inconsistent Exceptions are thrown by DatagramSocket and DatagramChannel when sending a DatagramPacket to port 0
...
Fix adds checks for port == 0 to the send and connect methods in DatagramSocket and DatagramChannelImpl
Reviewed-by: alanb, chegar, dfuchs, lancea
2020-04-07 16:21:01 +01:00
Daniel Fuchs
f541970b31
8241786: Improve heuristic to determine default network interface on macOS
...
DefaultInetrface.getDefault is updated to prefer interfaces that have non link-local addresses. NetworkConfiguration is updated to skip interface that have only link-local addresses, whether IPv4 or IPv6, for multicasting.
Reviewed-by: chegar, alanb
2020-04-03 14:27:03 +01:00
Daniel Fuchs
5ddbcb7a51
8241336: Some java.net tests failed with NoRouteToHostException on MacOS with special network configuration
...
NetworkConfiguration updated to skip interfaces that have only IPv6 link local addresses.
Reviewed-by: alanb, chegar
2020-03-27 12:42:03 +00:00
Patrick Concannon
0ed44d0aee
8239355: (dc) Initial value of SO_SNDBUF should allow sending large datagrams (macOS)
...
Updates DatagramChannel so that the SO_SNDBUF is set to a minimum value of 65527 for IPv6 sockets and 65507 for IPv4 sockets on macOS.
Reviewed-by: alanb, dfuchs
2020-03-12 17:08:09 +00:00
Lin Zang
732a575738
8239139: test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/libInheritedChannel.c does not compile with gcc 8.3.1
...
Reviewed-by: michaelm
2020-02-19 11:31:48 +00:00
Alan Bateman
c23d1de2f8
8238376: test/jdk/java/nio/channels/DatagramChannel/Loopback.java failing on multi-homed systems
...
Reviewed-by: dfuchs
2020-02-10 12:57:31 +00:00
Mikael Vidstedt
3318314c7c
8237589: Fix copyright header formatting
...
Reviewed-by: jjg, serb, iris, jwilhelm
2020-01-21 14:23:01 -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
6ef474a4f4
8053479: (dc) DatagramChannel.read() throws exception instead of discarding data when buffer too small
...
Reviewed-by: redestad, dfuchs
2020-01-18 19:11:28 +00:00
Daniel Fuchs
bf16838a8b
8208281: java/nio/channels/AsynchronousSocketChannel/Basic.java timed out
...
Modify the test to accept the peer socket before closing the client socket
Reviewed-by: alanb
2020-01-14 11:45:29 +00:00
Brian Burkhalter
d6a5897f41
8236804: java/nio/channels/FileChannel/MapWithSecurityManager.java should be run in othervm mode
...
Reviewed-by: chegar, lancea
2020-01-08 11:38:08 -08:00
Brian Burkhalter
31b9bbd87b
8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
...
Reviewed-by: alanb
2020-01-08 08:35:33 -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
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
Michael McMahon
b96610d017
8235475: Add additional timestamp to test java/nio/channels/Selector/SelectWithConsumer.java
...
Reviewed-by: alanb
2019-12-06 14:17:25 +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
Michael McMahon
7afaaf1229
8234824: java/nio/channels/SocketChannel/AdaptSocket.java fails on Windows 10
...
Reviewed-by: alanb
2019-12-03 11:57:10 +00: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
Daniel Fuchs
d6f414a1f7
8223196: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java fails on Solaris SPARC
...
The test is fixed to use InetAddress.getLocalHost consistently, instead of a mix of getLocalHost/wildcard addresses.
Reviewed-by: chegar, vtewari
2019-11-28 12:28:48 +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
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
Alex Kashchenko
690b960c8f
8216472: (se) Stack overflow during selection operation leads to crash (win)
...
Reviewed-by: alanb
2019-11-09 09:13:04 +00:00
Alan Bateman
b7dd1aff8b
8220479: java/nio/channels/Selector/SelectWithConsumer.java failed at testTwoChannels()
...
Reviewed-by: bpb
2019-11-08 08:12:04 -08: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
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
Michael McMahon
b8bda05c60
8231450: Copyright header line omitted from 8231187 changeset
...
Reviewed-by: chegar
2019-09-25 09:38:20 +01:00
Michael McMahon
aa5329e0d3
8231187: SelectorProvider.inheritedChannel() returns TCP socket channel for Unix domain socket
...
Reviewed-by: alanb, chegar
2019-09-24 16:19:11 +01:00
Sergey Bylokhov
f8a875bfce
8231027: Correct typos
...
Reviewed-by: lancea, dholmes, erikj
2019-09-17 19:52:51 -07:00
Brian Burkhalter
a8af569fa0
8184157: (ch) AsynchronousFileChannel hangs with internal error when reading locked file
...
Reviewed-by: alanb
2019-07-25 11:44:37 -07:00
Brian Burkhalter
4833b4b3d5
8224480: (fc) java/nio/channels/FileChannel/MapTest.java fails intermittently
...
Reviewed-by: lancea, alanb
2019-07-02 08:32:33 -07:00
Brian Burkhalter
4d1ff6a295
8226706: (se) Reduce the number of outer loop iterations on Windows in java/nio/channels/Selector/RacyDeregister.java
...
Reviewed-by: alanb
2019-06-28 13:02:18 -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
Arthur Eubanks
df9ad2af75
8224645: Only test multicast interfaces if they exist
...
Reviewed-by: alanb, dfuchs, chegar
2019-05-23 10:06:37 -07:00
Arthur Eubanks
21d398288d
8224019: test/jdk/java/nio/channels/DatagramChannel/BasicMulticastTests.java assumes IPv4 is always available
...
Reviewed-by: chegar, dfuchs, alanb
2019-05-15 17:21:18 -07:00
Alan Bateman
a817ac3456
8223442: java/nio/channels/SocketChannel/AdaptorStreams.java testConcurrentTimedReadWrite3(): failure
...
Reviewed-by: michaelm
2019-05-16 17:06:53 +01:00
Andrew Dinn
2b55e4834e
8221696: MappedByteBuffer.force method to specify range
...
Overload MappedByteBuffer.force to accept index and length arguments
Reviewed-by: dfuchs, alanb, bpb
2019-04-25 17:27:37 +01:00
Arthur Eubanks
eff53ce5e9
8223652: Rename IPSupport.skipIfCurrentConfigurationIsInvalid() to IPSupport.throwSkippedExceptionIfNonOperational()
...
Reviewed-by: dfuchs, chegar
2019-05-09 10:28:29 -07:00
Arthur Eubanks
0bb6328356
8220673: Add test library support for determining platform IP support
...
Reviewed-by: dfuchs, chegar
2019-04-16 13:06:23 -07: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
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
Arthur Eubanks
ef9ce3be1e
8220083: Use InetAddress.getLoopbackAddress() in place of 127.0.0.1 for some tests
...
Tests that hardcode "127.0.0.1" fail in an environment where only IPv6 is available and IPv4 is not.
Reviewed-by: chegar, dfuchs, michaelm
2019-02-27 13:34:40 -08: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
Jesper Wilhelmsson
bc920bd00d
Merge
2019-01-22 19:56:19 +01:00
Nick Gasson
c0de8f27a5
8217427: (dc) nio/channels/DatagramChannel/UseDGWithIPv6.java fails without IPv6
...
Reviewed-by: alanb, clanger
2019-01-22 10:25:22 +08: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
David Holmes
f1ffd3aa54
8217017: [TESTBUG] Tests fail to compile after JDK-8216265
...
Reviewed-by: kvn
2019-01-14 20:56:15 -05:00
Goetz Lindenmaier
084f0b75bd
8216265: [testbug] Introduce Platform.sharedLibraryPathVariableName() and adapt all tests
...
Also cleanup some switches over OSes and use File.pathSeparator.
Reviewed-by: dholmes, mdoerr
2019-01-14 00:00:00 +01:00
Pavel Rappo
884c808e83
8215292: Back out changes for node- and link- local ipv6 multicast address
...
Reviewed-by: chegar, alanb
2018-12-14 19:49:03 +00:00
Michael McMahon
4a77a08ca3
8211842: IPv6_supported wrongly returns false when unix domain socket is bound to fd 0
...
Reviewed-by: chegar, alanb
2018-11-30 10:29:58 +00:00
Brian Burkhalter
a6f0e10fe8
8213235: java/nio/channels/SocketChannel/AsyncCloseChannel.java fails with threads that didn't exit
...
Reviewed-by: alanb, dfuchs
2018-11-21 08:16:25 -08:00
Pavel Rappo
cea9c21479
8210493: Bind to node- or linklocal ipv6 multicast address fails
...
Reviewed-by: alanb, chegar
2018-11-12 12:55:36 +00:00
Amy Lu
836e02e1f1
8213576: Make test AsyncCloseChannel.java run in othervm
...
Reviewed-by: dholmes
2018-11-09 12:08:53 +08:00
Brian Burkhalter
36ca4f5893
8213306: Fix legal headers in test/java/nio
...
Reviewed-by: chegar
2018-11-02 09:58:55 -07:00
Igor Ignatyev
ab8c7f710c
8211171: move JarUtils to top-level testlibrary
...
Reviewed-by: alanb
2018-10-01 14:54:46 -07:00
Igor Ignatyev
3521fc392e
8210779: 8182404 and 8210732 haven't updated copyright years
...
Reviewed-by: bchristi
2018-09-17 11:50:39 -07:00
Igor Ignatyev
8b28ad6efe
8210732: remove jdk.testlibrary.Utils
...
Reviewed-by: alanb, jcbeyler
2018-09-14 14:02:57 -07:00
Alan Bateman
73cda6e99e
8208780: (se) test SelectWithConsumer.testReadableAndWriteable(): failure
...
Reviewed-by: bpb
2018-09-14 16:56:09 +01:00
Alan Bateman
f1202dc4dc
8209152: (so) ServerSocketChannel::supportedOptions includes IP_TOS
...
Reviewed-by: chegar
2018-09-05 11:52:08 +01:00
Hamlin Li
36f2d56823
8208280: java/nio/channels/Selector/RegisterDuringSelect.java fails with "key not removed from key set"
...
Reviewed-by: alanb
2018-08-31 10:00:22 +08:00
Phil Race
1387c87093
Merge
2018-07-26 10:00:40 -07:00
Hamlin Li
17f7056d82
8207833: java/nio/channels/Selector/SelectWithConsumer.java testCancel() fails intermittently
...
Reviewed-by: alanb
2018-07-20 15:24:42 +08:00
Hamlin Li
cf4bbcecb0
8207244: java/nio/channels/Selector/SelectWithConsumer.java testInterruptDuringSelect() fails intermittently
...
Reviewed-by: alanb
2018-07-20 08:40:14 +08:00
Hamlin Li
069fa394d0
8207316: java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java failed
...
Reviewed-by: alanb, simonis
2018-07-19 16:22:19 +08:00
Jesper Wilhelmsson
4fc510cc89
Merge
2018-07-14 02:14:54 +02:00
Felix Yang
f508eb1370
8202481: RegisterDuringSelect.java fails with java.util.concurrent.ExecutionException: java.nio.channels.ClosedSelectorException
...
8207023: Add trace info to java/nio/channels/Selector/RegisterDuringSelect.java
Reviewed-by: alanb
2018-07-13 11:21:55 +08:00
Roger Riggs
e9d845c870
8205547: FileChannel/CleanerTest.java fails due to expected FD count
...
Reviewed-by: psandoz
2018-06-26 12:42:36 -04:00
Brian Burkhalter
c390783ee2
8205641: Make java/nio/channels/Selector/RacyDeregister.java noisier and flush after prints
...
Reviewed-by: alanb
2018-06-26 09:33:55 -07:00
Brian Burkhalter
aef5f86408
8202252: (aio) Closed AsynchronousSocketChannel keeps completion handler alive
...
Clear handler instance variable after use
Reviewed-by: rriggs, alanb
2018-07-03 15:02:46 -07:00
Ivan Gerasimov
8774d70044
8204310: Simpler RandomAccessFile.setLength() on Windows
...
Reviewed-by: alanb
2018-06-29 17:35:04 -07:00
Peter Levart
6ec2cfcc49
8202788: Explicitly reclaim cached thread-local direct buffers at thread exit
...
Add internal TerminatingThreadLocal and use it to free cached thread-local direct buffers and nio-fs native buffers
Reviewed-by: tonyp, alanb
2018-06-22 17:56:55 +02: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
Brian Burkhalter
9269c67670
8203765: java/nio/channels/Selector/SelectAndClose: add some prints and @intermittent tag
...
Reviewed-by: alanb
2018-05-31 07:37:06 -07:00
Vyom Tewari
6a48db9cf6
8194298: Add support for per Socket configuration of TCP keepalive
...
Reviewed-by: chegar, clanger, igerasim, alanb
2018-05-30 16:36:35 +05:30
Brian Burkhalter
5c90486c43
8202290: AtomicAppend tests fail on macOS 10.13 ("High Sierra")
...
Reinstate actual running of tests for macOS version >= 10.13.
Reviewed-by: alanb
2018-05-25 07:22:37 -07:00
Brian Burkhalter
18d880bad8
8203766: Add some instrumentation to jdk/java/nio/channels/Selector/RacyDeregister.java
...
Reviewed-by: alanb
2018-05-24 12:29:50 -07:00
Alan Bateman
d64c38aab2
8203059: (so) Closing a socket channel registered with Selector and with SO_LINGER set to 0 does not reset connection
...
Reviewed-by: chegar
2018-05-15 09:33:02 +01:00
Brian Burkhalter
cdd3f0ac39
8202284: FileChannel and FileOutpuStream variants of AtomicAppend should fail silently on macOS >= 10.13
...
Reviewed-by: chegar
2018-04-30 13:40:39 -07:00
Hamlin Li
673e292ffe
8157543: java/nio/channels/Selector/SelectAndCancel.java fails intermittently
...
Reviewed-by: alanb
2018-04-26 10:29:44 +08:00
Hamlin Li
17da4aca08
8161991: java/nio/channels/AsynchronousSocketChannel/Basic.java failed due to RuntimeException: WritePendingException expected
...
8171404: java/nio/channels/AsynchronousSocketChannel/Basic.java failed with "AsynchronousCloseException expected"
8201520: AsynchronousSocketChannel/Basic.java timeout intermitently
Reviewed-by: alanb
2018-04-20 15:16:36 +08: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
Alan Bateman
45fb75c85a
8201474: (so) Socket adaptor connect(InetAddress, timeout) succeeds when connection fails
...
Reviewed-by: bpb
2018-04-14 08:41:42 +01:00
Alan Bateman
97d7cfb14e
8200458: (se) Readiness information previously recorded in the ready set not preserved
...
Reviewed-by: bpb, chegar
2018-04-05 15:04:09 +01:00
Alan Bateman
3bb85f5fc5
8199791: (se) More Selector cleanup
...
Reviewed-by: redestad, bpb
2018-03-23 14:18:18 +00:00
Brian Burkhalter
37f1b2b1e3
8198753: (dc) DatagramChannel throws unspecified exceptions
...
Reviewed-by: alanb
2018-03-22 12:29:52 -07:00
Hamlin Li
d76f461144
8199215: Re-examine getFreePort method in test infrastructure library
...
Reviewed-by: alanb
2018-03-16 18:15:31 +08:00
Alan Bateman
889a041f22
8198928: (so) SocketChannel connect may deadlock if closed at around same time that connect fails
...
Reviewed-by: bpb, mli
2018-03-07 07:13:55 +00:00
Brian Burkhalter
a131e1668f
8198834: (ch) Enable java/nio/channels/spi/SelectorProvider/inheritedChannel/InheritedChannelTest.java on linux-x64
...
Move to using centralized native build and remove obsolete .so files
Reviewed-by: alanb, erikj
2018-03-05 08:27:42 -08:00
Brian Burkhalter
073cfe14a5
8166253: (ch) FileLock object can get GC'd and result in unexpected release of file lock
...
Reviewed-by: alanb, dfuchs, mli, rriggs
2018-02-02 13:44:26 -08:00
Jesper Wilhelmsson
f1985b2e7e
Merge
2017-12-13 23:06:59 +01:00
Vladimir Kozlov
c11f132abe
8191788: add jdk.internal.vm.compiler to --limit-modules if -Djvmci.Compiler=graal is in the command line
...
Skip tests which use --limit-modules when Graal is used as JIT compiler.
Reviewed-by: alanb, mchung, dholmes, ccheung, dnsimon
2017-12-13 11:59:55 -08: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
Alexandre Iline
30b907936b
8191736: replace javah w/ javac in jdk tests
...
Reviewed-by: serb, jjg
2017-11-22 02:07:08 -08:00
Brian Burkhalter
1ca74d0d2e
8191025: (ch) Scattering reads to a subsequence of buffers ignores length
...
Use length parameter instead of the buffer array length
Reviewed-by: rriggs, alanb
2017-11-09 13:30:03 -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
Brian Burkhalter
16b93f1b06
8189775: java/nio/channels/FileChannel/directio/ReadDirect.java failed with NumberFormatException
...
Clamp the offset so the scattering read remains within the channel.
Reviewed-by: rriggs
2017-10-25 16:13:53 -07:00
Lucy Lu
ec1c3bce45
8164900: Add support for O_DIRECT
...
Add support for Direct I/O in FileChannel
Co-authored-by: Volker Simonis <volker.simonis@gmail.com>
Reviewed-by: alanb, bpb, alanbur, coffeys, aph, clanger, plevart, mli, psandoz, simonis
2017-10-17 16:51:11 -07:00
Brian Burkhalter
b890c3ce83
8147615: (fc) FileChannelImpl has no finalizer
...
Add a cleaner to close parent-less FileChannels
Reviewed-by: alanb, rriggs
2017-10-10 09:55:14 -07:00
Erik Joelsson
3789983e89
8187443: Forest Consolidation: Move files to unified layout
...
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00