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
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
Brian Burkhalter
185be26580
8224617: (fs) java/nio/file/FileStore/Basic.java found filesystem twice
...
Reviewed-by: alanb
2019-06-06 14:13:59 -07: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
Brian Burkhalter
2c35825433
8220793: (fs) No support for changing modification time of symlink
...
Reviewed-by: alanb, rriggs
2019-05-02 13:25:00 -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
Aleksey Shipilev
7fd0bca8f7
8222410: java/nio/file/attribute/BasicFileAttributeView/UnixSocketFile hangs when "nc" does not accept "-U"
...
Reviewed-by: alanb
2019-04-15 18:22:08 +02: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
Brian Burkhalter
fad1f059b0
5071718: (bf) Add ByteBuffer.slice(int offset, int length)
...
Reviewed-by: alanb, bchristi, darcy, rriggs
2019-02-28 12:05:59 -08:00
Brian Burkhalter
315b7d0399
5029431: (bf) Add absolute bulk put and get methods
...
Reviewed-by: alanb, darcy, chegar, rriggs
2019-02-20 10:57:22 -08:00
Brian Burkhalter
f380787a41
8218460: Test generation scripts do not invoke stream preprocessor correctly
...
Reviewed-by: rriggs
2019-02-05 14:36:50 -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
Brian Burkhalter
5c5d27962a
8215467: Files.isHidden should return true for hidden directories on Windows
...
Reviewed-by: alanb, bchristi, darcy
2019-01-18 09:33:13 -08: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
Jesper Wilhelmsson
f4f859b446
Merge
2018-12-19 20:53:30 +01:00
Lance Andersen
d1951aa97c
8215372: Incorrect nio/file/DirectoryStream/Basic.java tests for validating the use of a glob
...
Reviewed-by: alanb
2018-12-14 14:17:22 -05: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
Joe Wang
a567796533
8202285: (fs) Add a method to Files for comparing file contents
...
Reviewed-by: alanb, rriggs, smarks, bpb, dfuchs, weijun, igerasim
2018-11-08 09:50:54 -08:00
Brian Burkhalter
36ca4f5893
8213306: Fix legal headers in test/java/nio
...
Reviewed-by: chegar
2018-11-02 09:58:55 -07:00
Brian Burkhalter
4fe37df932
8212212: (bf) Incorrect path to stream preprocessor source in java.nio Buffer test scripts
...
Reviewed-by: alanb
2018-10-16 07:49:08 -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
Igor Ignatyev
21a0458422
8210112: remove jdk.testlibrary.ProcessTools
...
Reviewed-by: alanb, sspitsyn, jcbeyler
2018-09-07 14:01:52 -07:00
Ivan Gerasimov
1c9dfca05b
8210285: CharsetDecoder/Encoder's constructor does not reject NaN
...
Reviewed-by: sherman, smarks, alanb, martin, darcy
2018-09-06 12:10:59 -07: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
Joe Wang
0afc1b41c3
8209576: java.nio.file.Files.writeString writes garbled UTF-16 instead of UTF-8
...
Reviewed-by: sherman
2018-08-20 10:11:26 -07:00
Nasser Ebrahim
01cc27f875
8208634: Add x-IBM-1129 charset
...
Reviewed-by: alanb, sherman
2018-08-07 16:07:47 -07:00
Florian Weimer
cc248634a1
8208362: (bf) Long chains created by direct Buffer::slice
...
Reviewed-by: mr, psandoz, alanb
2018-08-06 14:55:04 -07: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
Joe Wang
e5ac84c7b0
8205058: (fs) Files read/writeString should throw CharacterCodingException instead of IOException with an IllegalArgumentException as cause
...
Reviewed-by: sherman, alanb, lancea
2018-06-27 09:31:51 -07: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
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
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
Brian Burkhalter
edbda00716
8205062: (fs) Improve some print diagnostics in java/nio/file/Files/CopyAndMove.java
...
Reviewed-by: alanb
2018-06-15 12:48:19 -07:00
Vivek Theeyarath
df2f01daf1
8202216: Add Buffer mismatch methods
...
Reviewed-by: plevart, psandoz
2018-06-14 23:09:11 -07:00
Brian Burkhalter
06eb010e7e
8204915: (fs) Add some print diagnostics to java/nio/file/Files/CopyAndMove.java
...
Reviewed-by: bchristi
2018-06-13 13:12:50 -07:00
Joe Wang
ca487166f4
8201276: (fs) Add methods to Files for reading/writing a string from/to a file
...
Reviewed-by: rriggs, smarks, sherman, forax, alanb, mli
2018-06-13 12:50:45 -07:00
Brian Burkhalter
683eebde09
8204576: (fs) java/nio/file/Files/CopyAndMove.java does not set isUnix = true on macOS
...
Reviewed-by: alanb
2018-06-08 07:58:19 -07:00
Brian Burkhalter
e9f3b0e527
8201407: Files.move throws DirectoryNonEmptyException when moving directory across file system
...
Reviewed-by: alanb
2018-06-07 07:43:29 -07: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
Martin Buchholz
4546512c19
8200310: Avoid charset lookup machinery in java.nio.charset.StandardCharsets
...
Reviewed-by: sherman, ulfzibis
2018-03-28 21:14:06 -07: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
Paul Sandoz
a2ea38d2c9
8199773: (bf) XXXBuffer:compareTo method is not working as expected
...
Reviewed-by: alanb
2018-03-22 09:07:08 -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
a7b3a19ec4
8191416: (bf) DirectByteBuffer extends MappedByteBuffer, confuses instanceof tests
...
Change force(), load(), and isLoaded() not to throw UOE if there is no file mapping
Reviewed-by: alanb, rriggs, forax
2018-02-12 08:19:23 -08:00