Jesper Wilhelmsson
555641ede5
Merge
2021-01-07 21:17:35 +00:00
Chris Hegarty
73f5415363
8258955: (bf) slice(int, int) on view buffers fails to adjust index according to primitive size
...
Reviewed-by: alanb
2021-01-02 19:29:50 +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
Brian Burkhalter
a50fdd5484
8219014: (bf) Add absolute bulk put methods which accept a source Buffer
...
Reviewed-by: psandoz, alanb
2020-11-05 16:27:49 +00:00
Brian Burkhalter
450452bb8c
8254876: (fs) NullPointerException not thrown when first argument to Path.of or Paths.get is null
...
Reviewed-by: rriggs, alanb
2020-11-03 19:39:28 +00:00
Christian Stein
f61ce32770
8255576: (fs) Files.isHidden() throws ArrayIndexOutOfBoundsException (unix)
...
Reviewed-by: alanb
2020-11-01 12:39:43 +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
Nhat Nguyen
8c0d3d754b
8254195: java/nio/file/Files/SubstDrive.java failed with "AssertionError: expected [144951656448] but found [144951640064]"
...
Reviewed-by: alanb, bpb
2020-10-08 18:05:23 +00:00
Nhat Nguyen
abe2593772
8232092: (fs) Files::isWritable returns false on a writeable root directory (win)
...
Reviewed-by: alanb
2020-10-07 19:45:20 +00:00
Naoto Sato
a34f48bcf5
8253832: CharsetDecoder : decode() mentioning CoderMalfunctionError behavior not as per spec
...
Reviewed-by: alanb
2020-10-06 12:35:52 +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
Mikael Vidstedt
ec074011a4
Merge
2020-07-19 21:34:28 -07:00
Roman Kennke
546158fb42
8249543: Force DirectBufferAllocTest to run with -ExplicitGCInvokesConcurrent
...
Reviewed-by: alanb
2020-07-16 15:04:58 +02:00
Erik Joelsson
d8219d0a78
8213214: Set -Djava.io.tmpdir= when running tests
...
Reviewed-by: alanb, mikael
2020-06-23 06:51:35 -07: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
Brian Burkhalter
1786701011
8246729: MappedByteBuffer.force() throws IndexOutOfBoundsException
...
Reviewed-by: psandoz, alanb
2020-06-08 13:15:59 -07:00
Brian Burkhalter
9cadf1a004
8246282: [REDO] JDK-8245121 (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
...
Reviewed-by: psandoz, alanb
2020-06-04 11:39:39 -07: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
Stefan Karlsson
81597d9f8f
8244078: ProcessTools executeTestJvm and createJavaProcessBuilder have inconsistent handling of test.*.opts
...
Reviewed-by: dholmes, cjplummer
2020-05-04 21:20:39 +02:00
Ichiroh Takiguchi
318fab950a
8242541: Small charset issues (ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C)
...
Modify ISO8859-16, x-eucJP-Open, x-IBM834 and x-IBM949C charset related files
Reviewed-by: naoto
2020-05-01 21:43:28 +09:00
Brian Burkhalter
447d6499f1
8242292: (fs) FileSystems.getFileSystem(URI) should throw IAE if the URI scheme is null
...
Reviewed-by: lancea, alanb
2020-04-13 10:16:38 -07: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
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