Commit Graph

53 Commits

Author SHA1 Message Date
Tim Bell
44accdb4b7 Merge 2009-11-06 17:27:41 -08: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
Kelly O'Hair
b389d6968a Merge 2009-10-28 16:54:50 -07:00
Kelly O'Hair
4f260ef889 6888701: Change all template java source files to a .java-template file suffix
Reviewed-by: jjg, alanb, mr
2009-10-28 12:54:37 -07:00
Alan Bateman
b712d23c2f 6879463: (file) DirectoryStream#iterator's remove method throws wrong exception when stream is closed
Reviewed-by: sherman
2009-10-19 20:01:45 +01:00
Alan Bateman
1ff76e3938 6892711: (file) test/java/nio/file/Path/CopyAndMove.java fails on Windows 2000
Reviewed-by: ohair
2009-10-19 19:59:22 +01:00
Alan Bateman
6e476efa4a 6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode
Reviewed-by: ohair
2009-10-19 19:58:38 +01:00
Alan Bateman
d7441d8772 6891404: (fs) ACL tests fail with "Invalid argument" on ZFS (sol)
Reviewed-by: sherman
2009-10-15 11:55:19 +01: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
8543d84e30 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
Reviewed-by: chegar
2009-09-14 17:47:26 +01:00
Alan Bateman
98e07b99bf 6873621: (file) FileStore.supportsFileAttributeView(Class<FileAttributeView> type) returns wrong result
Reviewed-by: andrew
2009-09-04 18:15:50 +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
b458f8ca65 6866804: (file) Path calls checkPermission insteadof checkXXX (sol)
Reviewed-by: sherman
2009-08-20 08:48:29 +01:00
Xueming Shen
94d23c375f 6866397: (file) PathMatcher with regex syntax doesn't match as expected (win)
Use unicode_case_insensitive for windows path matcher for now.

Reviewed-by: alanb
2009-08-14 11:23:01 -07:00
Alan Bateman
a3af9140c9 6865748: (file) SimpleFileVisitor methods ignore null arguments
Reviewed-by: sherman
2009-08-11 12:49:16 +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
08f07d0f8a 6867101: Path.checkAccess fails with sharing violation on special files such as pagefile.sys
Reviewed-by: sherman
2009-07-31 08:44:28 +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
22fac524b1 6863864: (fs) Path.createSymbolicLink doesn't set directory flag when creating sym link to directory (win)
Reviewed-by: sherman
2009-07-27 18:44:42 +01:00
Alan Bateman
212565afd7 6838333: New I/O: Update file system API to jsr203/nio2-b101
6844313: New I/O: File timestamps should be represented by a FileTime rather than a long+TimeUnit

Reviewed-by: sherman
2009-06-27 21:46:53 +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
9e2590b7bf 6795561: (bf) CharBuffer.subSequence() uses wrong capacity value for new buffer
Reviewed-by: sherman, iris
2009-04-15 14:53:34 +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
6d59271ca9 6808647: (file) Paths.get("C:").newDirectoryStream() iterates over Path elements with additional slash [win]
6808648: (file) Files.walkFileTree should obtain file attributes during iteration [win]

Reviewed-by: sherman
2009-02-24 09:11:42 +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
Alan Bateman
efd62d5c81 6593946: (bf) X-Buffer.compact() does not discard mark as specified
InvalidMarkException now correctly thrown. Thanks to keiths@redhat.com for the bug report and initial fix.

Reviewed-by: sherman, darcy
2008-11-25 19:26:54 +00:00
Xueming Shen
b9638d0527 6774710: spp.sh used by genBasic.sh/genCopyDirectMemory.sh
Update the scripts to use java version of spp

Reviewed-by: alanb
2008-11-25 10:09:26 -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
Alan Bateman
d41b0a77b2 6682020: (bf) Support monitoring of direct and mapped buffer usage
Reviewed-by: mchung, iris
2008-08-26 10:21:22 +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
Roman Kennke
eab1a9b3df 6546113: (bf) CharSequence.slice() on wrapped CharSequence doesn't start at buffer position
Reviewed-by: iris
2008-03-13 19:34:49 +00:00