Commit Graph

151 Commits

Author SHA1 Message Date
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
Jesper Wilhelmsson
89e9ae9b3c Merge 2020-02-05 03:24:41 +01:00
Brian Burkhalter
7db8a1762f 8237514: Spec Clarification - ByteBuffer::alignmentOffset Spec
Reviewed-by: alanb, psandoz
2020-01-31 08:04:11 -08:00
Brian Burkhalter
f4f7dbd54c 8225471: Test utility jdk.test.lib.util.FileUtils.areAllMountPointsAccessible needs to tolerate duplicates
Reviewed-by: alanb
2020-01-23 10:19:32 -08:00
Jesper Wilhelmsson
c6c828fa6e Merge 2020-01-23 22:59:49 +01: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
Brian Burkhalter
a91ec31636 8237183: Bug ID missing for test in patch which fixed JDK-8230665
Reviewed-by: lancea
2020-01-14 17:28:54 -08:00
Brian Burkhalter
03cd98e15b 8230665: (bf spec) ByteBuffer::alignmentOffset spec misleading when address is misaligned
Reviewed-by: alanb, darcy, psandoz
2020-01-14 11:06:00 -08:00
Brian Burkhalter
d8e3d8af7b 8236804: java/nio/channels/FileChannel/MapWithSecurityManager.java should be run in othervm mode
Reviewed-by: chegar, lancea
2020-01-09 08:31:41 -08:00
Brian Burkhalter
7cd4d9ac6a 8236582: (fc) FileChannel.map fails with InternalError when security manager enabled
Reviewed-by: alanb
2020-01-09 08:31:29 -08: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
Jesper Wilhelmsson
51d5164ca2 Merge 2020-01-16 04:09:50 +01:00
Jesper Wilhelmsson
d34f561de0 Merge 2020-01-15 20:41:46 +01: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
Chris Yin
6da7ea6ea3 8236595: Add more comments about how to setup simulated NVRAM before run java/nio/MappedByteBuffer/PmemTest.java
Reviewed-by: alanb, adinn
2020-01-06 11:29:38 +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
Gustavo Romero
1691abc747 8234599: PPC64: Add support on recent CPUs and Linux for JEP-352
Reviewed-by: mbaesken, mdoerr, adinn
2019-11-21 17:10:26 -03: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
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
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
Brian Burkhalter
fc2a8abcc0 8232178: MacVolumesTest failed after upgrade to MacOS Catalina
Reviewed-by: lancea
2019-11-07 13:53:38 -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
Brian Burkhalter
12178ec008 8231174: (fs) FileTime should have 100ns resolution (win)
Reviewed-by: alanb
2019-09-25 11:44:52 -07: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
Brian Burkhalter
d6b7266547 8231254: (fs) Add test for macOS Catalina changes to protect system software
Reviewed-by: alanb
2019-09-23 13:59:41 -07:00
Sergey Bylokhov
f8a875bfce 8231027: Correct typos
Reviewed-by: lancea, dholmes, erikj
2019-09-17 19:52:51 -07:00
Naoto Sato
28b972e5ce 8229960: Remove sun.nio.cs.map system property
Reviewed-by: alanb
2019-09-10 12:51:05 -07:00
Brian Burkhalter
d2db14b836 8229280: Test failures on several linux hosts after JDK-8181493
Reviewed-by: alanb, clanger, dfuchs
2019-09-05 14:12:01 -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
Brian Burkhalter
20ee82bf0a 8181493: (fs) Files.readAttributes(path, BasicFileAttributes.class) should preserve nano second time stamps
Reviewed-by: alanb, lancea
2019-07-29 08:48:52 -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
c6c82dd736 8227080: (fs) Files.newInputStream(...).skip(n) is slow
Reviewed-by: sbordet, rriggs, fweimer
2019-07-03 14:37:19 -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