Commit Graph

135 Commits

Author SHA1 Message Date
Alan Bateman
dad0499822 6633549: (dc) Include-mode filtering of IPv6 sources does not block datagrams on Linux
Reviewed-by: chegar
2012-07-22 20:32:12 +01:00
Alan Bateman
83f975cf42 7177617: TEST_BUG: java/nio/channels/AsyncCloseAndInterrupt.java failing (win)
Reviewed-by: chegar, coffeys
2012-06-18 11:19:48 +01:00
Alan Bateman
c580cfee80 7176630: (sc) SocketChannel.write does not write more than 128k when channel configured blocking [win]
Reviewed-by: khazra, chegar
2012-06-14 12:13:54 +01:00
Rob McKenna
042cc29680 7161881: (dc) DatagramChannel.bind(null) fails if IPv4 socket and running with preferIPv6Addresses=true
Reviewed-by: alanb, chegar
2012-06-08 18:23:28 +01:00
Alan Bateman
08c4f120c9 7172826: (se) Selector based on the Solaris event port mechanism
Reviewed-by: coffeys, chegar
2012-06-06 17:59:29 +01:00
Alan Bateman
35a0ff69b0 7132924: (dc) DatagramChannel.disconnect throws SocketException with IPv4 socket and IPv6 enabled [macosx]
Reviewed-by: chegar
2012-04-22 21:22:17 +01:00
James Melvin
d090606f36 7130404: [macosx] "os.arch" value should be "x86_64" for compatibility with Apple JDK6
On Mac OS X, align system property "os.arch" with Apple legacy JDKs.  Also, improve os.name string matching by using .contains() method instead of .startsWith(). This fix spans multiple repositories.

Reviewed-by: dcubed, phh, ohair, katleman
2012-04-16 18:09:53 -04:00
Alan Bateman
b29ee10938 7143744: (se) Stabilize KQueue SelectorProvider and make default on MacOSX
Reviewed-by: michaelm, chegar
2012-04-16 20:12:20 +01:00
Alan Bateman
3269d85838 7113349: Initial changeset for Macosx port to jdk
Co-authored-by: Alexander Potochkin <alexander.potochkin@oracle.com>
Co-authored-by: Alexander Zuev <alexander.zuev@oracle.com>
Co-authored-by: Andrew Brygin <andrew.brygin@oracle.com>
Co-authored-by: Artem Ananiev <artem.ananiev@oracle.com>
Co-authored-by: Alex Strange <astrange@apple.com>
Co-authored-by: Bino George <bino@apple.com>
Co-authored-by: Christine Lu <christine.lu@oracle.com>
Co-authored-by: David Katleman <david.katleman@oracle.com>
Co-authored-by: David Durrence <david_durrence@apple.com>
Co-authored-by: Dmitry Cherepanov <dmitry.cherepanov@oracle.com>
Co-authored-by: Greg Lewis <glewis@eyesbeyond.com>
Co-authored-by: Kevin Miller <kevin_m_miller@apple.com>
Co-authored-by: Kurt Miller <kurt@intricatesoftware.com>
Co-authored-by: Landon Fuller <landonf@plausiblelabs.com>
Co-authored-by: Leonid Romanov <leonid.romanov@oracle.com>
Co-authored-by: Loefty Walkowiak <loefty@apple.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Co-authored-by: Naoto Sato <naoto.sato@oracle.com>
Co-authored-by: Philip Race <philip.race@oracle.com>
Co-authored-by: Roger Hoover <rhoover@apple.com>
Co-authored-by: Scott Kovatch <scott.kovatch@oracle.com>
Co-authored-by: Sergey ByloKhov <sergey.bylokhov@oracle.com>
Co-authored-by: Mike Swingler <swingler@apple.com>
Co-authored-by: Tomas Hurka <tomas.hurka@oracle.com>
Reviewed-by: jjh, alanb, dholmes, anthony, ohrstrom, ksrini, jrose, weijun, smarks
2012-03-06 20:34:38 +00:00
Alan Bateman
5751fb4a86 7117717: (aio) Tests failing due to implementation bug 7052549
Reviewed-by: weijun, chegar
2011-12-05 12:23:46 +00:00
Kurchi Subhra Hazra
f953b5c397 7060243: (dc) Multicasting tests fail on Windows XP if IPv6 is enabled
Reviewed-by: alanb
2011-08-26 22:24:12 +01:00
Kurchi Subhra Hazra
72c1f57f87 7044870: java/nio/channels/DatagramChannel/SelectWhenRefused.java failed on SUSE Linux 10
Reviewed-by: alanb, chegar
2011-08-25 16:08:31 +01:00
Alan Bateman
a02c5e28fb 6965150: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java takes too long
Reviewed-by: chegar
2011-06-24 19:30:39 +01:00
Alan Bateman
54cdd2715c 7043425: (fc) ClosedByInterruptException thrown but interrupt status not set
Reviewed-by: dholmes, chegar
2011-05-11 14:57:17 +01:00
Alan Bateman
914105d32e 7042979: Rename StandardSocketOption and StandardWatchEventKind
Reviewed-by: forax, chegar
2011-05-09 18:45:33 +01:00
Kelly O'Hair
7c8e01891a Merge 2011-04-13 16:56:16 -07:00
Kelly O'Hair
d2b1e20c7d 7033660: Update copyright year to 2011 on any files changed in 2011
Reviewed-by: dholmes
2011-04-06 22:06:11 -07:00
Mandy Chung
793f1078b6 7024172: Move BufferPoolMXBean and PlatformLoggingMXBean java.lang.management
Reviewed-by: alanb
2011-03-29 15:50:55 -07:00
Alan Bateman
4b0829340e 7026376: (dc) DatagramChannel created without specifying protocol family fails to join IPv4 group
Reviewed-by: chegar
2011-03-15 13:15:31 +00:00
Alan Bateman
d048451ca2 7023403: (ch) sun.nio.ch.SolarisEventPort.startPoll failed with AssertionError
Reviewed-by: forax
2011-03-04 21:26:50 +00:00
Alan Bateman
9aa277a541 6526860: (fc) FileChannel.position returns 0 when FileOutputStream opened in append mode
Reviewed-by: forax
2011-02-17 20:50:22 +00:00
Alan Bateman
256ce3b0ba Merge 2011-01-28 09:31:48 +00:00
Alan Bateman
2f37110eca 7006126: (fs) Updates to file system API (1/2011)
Reviewed-by: chegar, sherman
2011-01-28 09:28:43 +00:00
Joe Darcy
1dd962a92e 7013420: Project Coin: remove general expression support from try-with-resources statement
Reviewed-by: alanb
2011-01-26 12:32:23 -08:00
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Alan Bateman
3111dfa081 6709457: (fc) lock/tryLock() throws IOException "Access is denied" when file opened for append [win]
Reviewed-by: chegar
2010-12-01 13:49:02 +00:00
Alan Bateman
b6b4b5086c 6878369: (ch) AsynchronousSocketChannel read/write methods that specify timeouts should not throw IAE
Reviewed-by: forax
2010-11-24 09:51:31 +00:00
Alan Bateman
4dfa884fe5 6999915: TEST_BUG: test/java/nio/channels/AsynchronousSocketChannel/Leaky.java failed intermittently (win)
Reviewed-by: forax
2010-11-15 14:34:04 +00:00
Alan Bateman
4f08e82908 6979009: (fc) FileChannel.read() fails to throw ClosedByInterruptException
Reviewed-by: forax, sherman, chegar
2010-11-09 18:56:39 +00:00
Alan Bateman
b1deb7b1e3 6431343: (dc) DatagramChannel may not report its local address correctly after connect or disconnect
Reviewed-by: chegar
2010-11-02 10:07:21 +00:00
Alan Bateman
c51ac2a369 6993126: (aio) remove AsynchronousDatagramChannel
Reviewed-by: chegar
2010-11-02 10:05:42 +00:00
Sean Coffey
9b05f554fa 6974104: TEST: sun/nio/ch/6645197.java should be fixed in 1.5.0u25b05 and jdk6 workspace
Reviewed-by: alanb
2010-10-18 18:04:02 +01:00
Alan Bateman
246920e930 6987116: (so) test/java/nio/channels/SocketChannel/VectorIO.java failed on Solaris 11
Reviewed-by: forax
2010-10-05 15:07:40 +01:00
Alan Bateman
41cc1e2f4a 6989190: SO_SNDBUF/SO_RCVBUF limits should only be checked when setsockopt fails (sol)
Reviewed-by: chegar, michaelm
2010-10-04 14:17:36 +01:00
Alan Bateman
55b13f6d55 6984545: (fc) transferFrom does not throw NonReadableChannelException when target is size 0 and non-readable
Reviewed-by: forax
2010-09-15 15:13:50 +01:00
Alan Bateman
ba3ab12326 6983794: TEST_BUG: test/java/nio/channels/Selector/ConnectWrite.java failing
Reviewed-by: chegar
2010-09-10 18:48:49 +01:00
Alan Bateman
11b424e02b 6963907: (so) Socket adapter need to implement sendUrgentData
Reviewed-by: chegar
2010-07-21 18:08:46 +01:00
Alan Bateman
62b559b4e9 6213702: (so) non-blocking sockets with TCP urgent disabled get still selected for read ops (win)
Reviewed-by: michaelm, chegar
2010-06-29 17:11:12 +01:00
Alan Bateman
efa88ff48b 6963828: TEST_BUG: java/nio/channels/FileTransfer.java takes too long (win)
Reviewed-by: chegar
2010-06-25 18:31:41 +01:00
Alan Bateman
670501c6c6 6963027: TEST_BUG: channels and buffer tests need to run in samevm mode
Reviewed-by: ohair, sherman, chegar
2010-06-23 20:19:29 +01:00
Alan Bateman
0b946fc36e 4981129: (dc) DatagramSocket created by DatagramChannel does not provide sender info
Reviewed-by: chegar
2010-06-18 16:16:51 +01:00
Alan Bateman
29b2194847 6395224: (so) SocketChannel writer blocked on large buffer is not preempted by close method (vista)
Reviewed-by: chegar
2010-06-17 17:49:59 +01:00
Alan Bateman
dadf7053f7 6961630: TEST_BUG: Several SocketChannel and Selector tests can fail with "address already in use"
Reviewed-by: chegar
2010-06-16 14:24:46 +01:00
Alan Bateman
cee6cf433e 6961358: TEST_BUG: java/nio/channels/SocketChannel/OpenLeak.java can't run in samevm mode
Reviewed-by: chegar
2010-06-15 16:42:54 +01:00
Alan Bateman
52c2b63a7a 6932744: TEST_BUG: java/nio/channels/Selector/OpRead.java failing
Reviewed-by: chegar
2010-06-15 16:36:20 +01:00
Alan Bateman
788f7f3485 6961062: (dc) Several DatagramChannel tests timeout or fail with "address already in use"
Reviewed-by: chegar
2010-06-15 10:03:37 +01:00
Alan Bateman
82adf1a224 6934585: TEST_BUG: java/nio/channels/AsynchronousSocketChannel/Basic.java
Reviewed-by: chegar
2010-06-11 14:31:26 +01:00
Alan Bateman
3c05d51ed6 6935563: (dc) Improve connection reset/port unreachable handling [win]
Reviewed-by: chegar
2010-06-09 18:51:32 +01:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Alan Bateman
30d2fd5f41 6913877: (fs) AsynchronousFileChannel.write can return wrong result under load [win]
Reviewed-by: chegar
2010-01-10 12:29:19 +00:00
Kelly O'Hair
a59db62f07 6911113: These tests do not work with CYGWIN: java/nio
Reviewed-by: tbell, alanb
2010-01-04 15:36:06 -08:00
Alan Bateman
186882959d 6900234: Several NIO tests should be removed from test/ProblemList.txt
Reviewed-by: chegar
2009-11-11 16:22:27 +00:00
Alan Bateman
aac491b420 6898234: (dc) Multicast tests fail on OpenSolaris with vboxnet0 adapter
Reviewed-by: chegar
2009-11-10 10:51:31 +00:00
Igor Chernyshev
fb6b9445d7 6897993: (se) Close or cancel performance issue when number of pending updates is high (lnx)
Use O(1) Iterator instead of O(N) operations on LinkedList updateList

Reviewed-by: alanb
2009-11-04 15:22:30 -08:00
Alan Bateman
936d0362c2 6884800: (file) Path.newInputStream does not usefully implement available()
Reviewed-by: martin, chegar
2009-10-04 15:42:00 +01:00
Alan Bateman
aecf7417ad 6842687: New I/O: Update Asynchronous I/O API to jsr203/nio2-b101
Reviewed-by: sherman
2009-08-23 12:53:45 +01:00
Alan Bateman
90b1aee142 4516760: (so) Intermittent SocketException: Transport endpoint is not connected (lnx)
Reviewed-by: sherman
2009-08-11 12:37:02 +01:00
Alan Bateman
6538a1bcf9 6867244: Tests missing @run tag
Reviewed-by: sherman
2009-07-31 08:45:30 +01:00
Alan Bateman
86a40825c7 6863667: (ch) Several tests in java/nio/channels/* need to be updated after 6638712
Reviewed-by: mcimadamore
2009-07-27 18:46:50 +01:00
Alan Bateman
e4f45d0a0b 6834246: (ch) AsynchronousSocketChannel#write completes with wrong number of bytes written under load (win)
Reviewed-by: sherman
2009-05-04 19:25:14 +01:00
Alan Bateman
cab29c9b7a 6830721: (fc) test/java/nio/channels/AsynchronousFileChannel/Basic.java intermittent failure
Reviewed-by: sherman
2009-04-20 09:30:50 +01:00
Alan Bateman
26dc2b8949 6543863: (fc) FileLock.release can deadlock with FileChannel.close
6429910: (fc) FileChannel.lock() IOException: Bad file number, not AsynchronousCloseException
6814948: (fc) test/java/nio/channels/AsynchronousFileChannel/Lock.java failed intermittently
6822643: (fc) AsynchronousFileChannel.close does not invalidate FileLocks

Reviewed-by: sherman
2009-04-15 16:16:35 +01:00
Alan Bateman
9676f044cb 6823609: (se) Selector.select hangs on Windows under load
Reviewed-by: sherman
2009-04-03 22:10:36 +01:00
Alan Bateman
78e9762656 6824477: (se) Selector.select fails with IOException: "Invalid argument" if maximum file descriptors is low
Reviewed-by: sherman
2009-04-02 19:47:24 +01:00
Alan Bateman
d2cd251815 6824135: (ch) test/java/nio/channels/AsyncCloseAndInterrupt.java fails (lnx)
Reviewed-by: sherman
2009-04-02 11:13:56 +01:00
Alan Bateman
f59df4d489 6693490: (se) select throws "File exists" IOException under load (lnx)
Reviewed-by: sherman
2009-03-27 15:24:37 +00:00
Alan Bateman
6af949fe24 6621689: (dc spec) DatagramChannel.receive when channel is not bound is not specified
Reviewed-by: sherman
2009-03-24 14:10:38 +00:00
Alan Bateman
030a13d8fe 6781363: New I/O: Update socket-channel API to jsr203/nio2-b99
4313887: New I/O: Improved filesystem interface
4607272: New I/O: Support asynchronous I/O

Reviewed-by: sherman, chegar
2009-02-15 12:25:54 +00:00
Xiomara Jayasena
cc8641d33a 6785258: Update copyright year
Update copyright for files that have been modified starting July 2008 to Dec 2008

Reviewed-by: katleman, ohair, tbell
2008-12-15 16:55:25 -08:00
Xueming Shen
b596dd66fa 6725399: (ch) Channels.newInputStream should check for null
Update to check null arg for all Channels methods

Reviewed-by: alanb
2008-11-29 20:55:29 -08:00
Xueming Shen
7add953cfe 5025260: Register methods should throw ClosedChannelException instead of NPE
Update the spec and implementation to throw ClosedSelectorException

Reviewed-by: alanb
2008-10-13 14:45:27 -07:00
Xiomara Jayasena
6e86513c3a 6754988: Update copyright year
Update for files that have been modified starting July 2008

Reviewed-by: ohair, tbell
2008-10-02 19:58:32 -07:00
Alan Bateman
63d86bcfda 4640544: New I/O: Complete socket-channel functionality
Reviewed-by: iris, sherman, chegar
2008-08-31 18:39:01 +01:00
Tim Bell
00e6ff0db3 Merge 2008-07-22 11:40:06 -07:00
Xueming Shen
5628d956d5 6405995: (ch) test/java/nio/channels/Selector/Wakeup.java broken
Moved the unit test case back to open repo, it works after bugfixes in jdk6

Reviewed-by: alanb
2008-07-17 14:26:51 -07:00
Xueming Shen
61dd937d11 6541641: (fc) java/nio/channels/FileChannel/ExpandingMap.java should clean up after itself
Close channel and explicitly de-ref the mapped buffers before exit.

Reviewed-by: alanb
2008-07-16 15:09:24 -07:00
Tim Bell
528aac8c17 Merge 2008-07-04 14:41:34 -07:00
Xiomara Jayasena
2617d1d179 6719955: Update copyright year
Update copyright year for files that have been modified in 2008

Reviewed-by: ohair, tbell
2008-07-02 12:55:45 -07:00
Xueming Shen
35038e62cd 6541631: (fc) java/nio/channels/Filechannel/LongTransferTest.java should clean up after itself
Should close the channel before delete the file

Reviewed-by: alanb
2008-06-27 12:09:37 -07:00
Xueming Shen
2d15cd8fc6 6501089: test/java/nio/channels/SocketChannel/AsyncCloseChannel.java failing (timeout) on Linux
Test/java/nio/channels/SocketChannel/AsyncCloseChannel.java failing (timeout) on Linux

Reviewed-by: alanb
2008-06-14 09:30:20 -07:00
Alan Bateman
97bcf18b88 6710579: (ch) test/java/nio/channels/AsyncCloseAndInterrupt fails (lnx)
Reviewed-by: chegar
2008-06-05 14:57:15 +01:00
Alan Bateman
06e7bf1f85 6596323: (fc) ClosedByInterruptException not thrown by the interrupt method (lnx)
Reviewed-by: sherman
2008-06-05 14:50:28 +01:00
Alan Bateman
40922e9127 6644607: (ch) test/java/nio/channels/SocketChannel/Connect.java throws UnknownHostException
Reviewed-by: chegar
2008-03-11 14:49:53 +00:00
Alan Bateman
d5b852b81d 6448457: (ch) Channels.newOutputStream().write() does not write all data
Reviewed-by: iris, sherman
2008-03-11 14:42:35 +00:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00