139 Commits

Author SHA1 Message Date
Ivan Gerasimov
f3e4326747 8137230: TEST_BUG: java/nio/channels/FileChannel/LoopingTruncate.java timed out
Reviewed-by: rriggs
2015-09-29 17:26:14 +03:00
Ivan Gerasimov
1613e728cc 8137121: (fc) Infinite loop FileChannel.truncate
Reviewed-by: alanb
2015-09-26 00:23:15 +03:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Tristan Yan
7f9414bc11 8068761: Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed with SocketTimeoutException
Reviewed-by: rriggs
2015-07-21 14:15:59 -04:00
Felix Yang
ea58ca6a25 8130394: DatagramChannel tests need to be hardended to ignore stray datagrams
The patch updates tests to ignore stray datagrams, or at least print more information to ease troubleshooting.

Reviewed-by: rriggs
2015-07-15 08:42:24 -07:00
Brian Burkhalter
0bc308ad38 8087304: (ch) java/nio/channels/DatagramChannel/EmptyBuffer.java received 4 times while expected 3
Only count datagrams received from the client within the test.

Reviewed-by: alanb, chegar
2015-06-16 14:38:51 -07:00
Amy Lu
94dbab9120 8079651: (dc) Promiscuous.java fails with NumberFormatException due to network interference
Reviewed-by: alanb, chegar
2015-05-08 10:22:18 +01:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Chris Hegarty
1392515988 8076644: MulticastSendReceiveTests.java fails with NumberFormatException due to network interference
Reviewed-by: alanb
2015-04-03 16:09:49 +01:00
Joe Darcy
07cd371738 8075670: Remove intermittent keyword from some tests
Reviewed-by: alanb
2015-03-23 09:45:32 -07:00
Joe Darcy
2596979bfe 8075565: Define @intermittent jtreg keyword and mark intermittently failing jdk tests
Reviewed-by: lancea
2015-03-19 18:38:26 -07:00
Brian Burkhalter
03088bb6e6 8071599: (so) Socket adapter sendUrgentData throws IllegalBlockingMode when channel configured non-blocking
Remove restriction to blocking case

Reviewed-by: alanb, chegar
2015-02-27 14:36:03 -08:00
Brian Burkhalter
2a8d5c46e1 6880737: (fs) FileLock constructors don't throw NPE if the channel argument is null
Throw IllegalArgumentException if the channel parameter is null

Reviewed-by: alanb
2015-01-30 12:56:12 -08:00
Sean Coffey
c20d40c269 8068507: (fc) Rename the new jdk.net.enableFastFileTransfer system property to jdk.nio.enableFastFileTransfer
Reviewed-by: alanb
2015-01-08 11:44:10 +00:00
Brian Burkhalter
871abc48e4 8025619: (fc) FileInputStream.getChannel on closed stream returns FileChannel that doesn't know that stream is closed
If the stream is closed ensure getChannel() returns a closed channel. Also, FileKey.create() should throw an IOException directly instead of wrapping it in an Error.

Reviewed-by: alanb
2014-12-15 12:09:49 -08:00
Kirk Shoop
9eafb6c406 8064407: (fc) FileChannel transferTo should use TransmitFile on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-12-07 07:10:29 +00:00
Kirk Shoop
d03eadea27 8060170: Support SIO_LOOPBACK_FAST_PATH option on Windows
Co-authored-by: Valeriy Kopylov <v-valkop@microsoft.com>
Reviewed-by: alanb
2014-10-19 11:52:53 +01:00
Ivan Gerasimov
2426fa797f 8054029: (fc) FileChannel.size() returns 0 for block devices on Linux
Reviewed-by: alanb
2014-09-13 20:06:15 +04:00
Michael Cui
df046b387e 8031563: TEST_BUG: java/nio/channels/Selector/ChangingInterests.java failed once
Reviewed-by: alanb
2014-03-25 10:14:09 +00:00
Alan Bateman
22bc40c071 8010194: java/nio/channels/spi/SelectorProvider/inheritedChannel/run_tests.sh fails with "Timed out waiting ..." (sol)
Reviewed-by: chegar
2014-03-02 15:56:07 +00:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Michael Cui
dca4d10631 8028711: TEST_BUG: Shell tests should pass through VM options
Reviewed-by: alanb
2014-02-13 15:59:04 +00:00
Alan Bateman
e21c1ec29b 8031113: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Basic.java fails intermittently
Reviewed-by: chegar
2014-01-03 15:59:54 +00:00
Alan Bateman
91cc7f3c28 8027212: java/nio/channels/Selector/SelectAfterRead.java fails intermittently
Reviewed-by: chegar, ewang
2013-12-14 09:27:12 +00:00
Dan Xu
a353eaac39 8028628: java/nio/channels/FileChannel/Size.java failed once in the same binary run
Reviewed-by: alanb, chegar, mchung, lancea
2013-11-21 14:23:41 -08:00
Alan Bateman
11d02a8031 7074436: (sc) SocketChannel can do short gathering writes when channel configured blocking (win)
Reviewed-by: chegar
2013-10-22 14:13:06 +01:00
Chris Dennis
ca4ee27ab5 8024833: (fc) FileChannel.map does not handle async close/interrupt correctly
Reviewed-by: alanb
2013-10-22 12:04:19 +01:00
David Katleman
b4c28b3b28 Merge 2013-10-01 12:45:47 -07:00
Kumar Srinivasan
a210a6a74e 8020552: [launcher] changes to support removal of Solaris 32-bit distribution
8023495: [infra] create 64-bit solaris bits with symlinks

Reviewed-by: ihse, tbell, dholmes, darcy, alanb, erikj, sla, martin
2013-09-27 16:29:44 -07:00
Eric Wang
8290ada96c 8015762: TEST_BUG: java/nio/channels/DatagramChannel/AdaptDatagramSocket.java failing intermittently [win]
Reviewed-by: chegar, alanb
2013-09-18 15:13:10 +01:00
Alan Bateman
2785e7d00a 8024883: (se) SelectableChannel.register throws NPE if fd >= 64k (lnx)
Co-authored-by: Norman Maurer <nmaurer@redhat.com>
Reviewed-by: alanb, coffeys
2013-09-18 14:10:24 +01:00
Yiming Wang
ab37de55bf 8015765: TEST_BUG: java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failing intermittently
Reviewed-by: chegar, dholmes, alanb
2013-08-15 13:42:45 +01:00
Alan Bateman
a7f93a5480 8014377: (dc) DatagramChannel should set IP_MULTICAST_ALL=0 (lnx)
Reviewed-by: chegar, jzavgren
2013-06-20 19:14:30 +01:00
Alan Bateman
049fc8b7b0 8003895: java/nio/channels/AsynchronousChannelGroup/Unbounded.java failing again [win64]
Reviewed-by: chegar
2013-06-05 11:12:31 +01:00
Alan Bateman
aefbf5bd89 8012019: (fc) Thread.interrupt triggers hang in FileChannelImpl.pread (win)
Reviewed-by: chegar
2013-04-17 16:11:19 +01:00
Lana Steuck
4f62a2b334 Merge 2013-03-15 23:31:19 -07:00
Yiming Wang
a7f501c620 7183800: TEST_BUG: Update tests to run on Ubuntu 12.04 (localhost is 127.0.1.1)
Reviewed-by: alanb, chegar
2013-03-14 16:59:06 +00:00
Edvard Wendelin
cbfc80d987 Merge 2013-02-19 21:48:01 +01:00
Frank Ding
7886b3e26b 6429204: (se) Concurrent Selector.register and SelectionKey.interestOps can ignore interestOps
Reviewed-by: alanb
2013-02-18 08:14:18 +00:00
Dan Xu
6cc211f4e1 8002306: (se) Selector.open fails if invoked with thread interrupt status set [win]
Reviewed-by: alanb
2013-01-08 20:37:27 +00:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47:35 +00:00
Edvard Wendelin
f92370665e Merge 2013-02-03 23:25:38 +01:00
Alan Bateman
8c308db579 8003285: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java fails again [macosx]
Reviewed-by: chegar
2012-11-14 12:56:26 +00:00
Alan Bateman
86d36e5d55 8003253: TEST_BUG: java/nio/channels/AsynchronousChannelGroup/Unbounded.java hang intermittently [win]
Reviewed-by: chegar
2012-11-11 10:05:37 +00:00
Chris Hegarty
90f2168fa2 7201071: InetSocketAddress serialization issue
Reviewed-by: alanb, michaelm, skoivu
2012-11-07 14:26:41 +00:00
Daniel Fuchs
f2eac8a30a 6720349: (ch) Channels tests depending on hosts inside Sun
This changeset make the nio tests start small TCP or UDP servers from within the tests, instead of relying on external services.

Reviewed-by: alanb
2012-11-07 13:24:39 +01:00
Alan Bateman
f2aa8d9df9 8000330: (fc) FileChannel.truncate issues when given size > file size
8002180: (fc) FileChannel.map does not throw NPE if MapMode specified as null

Reviewed-by: chegar
2012-11-04 14:07:35 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Rob McKenna
2102c5a5b6 7184932: Remove the temporary Selector usage in the NIO socket adapters
Reviewed-by: alanb
2012-10-04 19:53:08 +01:00
Alan Bateman
903c4c0c7f 7200742: (se) Selector.select does not block when starting Coherence (sol)
Reviewed-by: chegar
2012-09-27 10:30:56 +01:00