Commit Graph

119 Commits

Author SHA1 Message Date
Yiming Wang
423284cd20 8023139: java/nio/file/WatchService/SensitivityModifier.java failing intermittently (win8)
Reviewed-by: alanb
2013-08-26 10:01:27 +01:00
Ivan Gerasimov
ebe38d6cdc 8020669: (fs) Files.readAllBytes() does not read any data when Files.size() is 0
Reviewed-by: alanb, chegar, martin, rriggs
2013-07-29 12:35:42 +04:00
Henry Jen
411df5ec90 8009736: Comparator API cleanup
Reviewed-by: psandoz, briangoetz, mduigou, plevart
2013-06-11 13:41:38 -07:00
Henry Jen
dafa777413 8014855: TEST_BUG: java/nio/file/Files/StreamTest.java fails when sym links not supported
Reviewed-by: alanb
2013-06-04 15:18:39 +01:00
Henry Jen
862e2f6a7d 8006884: (fs) Add Files.list, lines and find
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: briangoetz, mduigou
2013-05-09 14:44:56 -07:00
Alan Bateman
6622dd4edf 8011128: (fs) Files.createDirectory fails if the resolved path is exactly 248 characters long
Reviewed-by: khazra, chegar
2013-05-10 14:53:33 +01:00
Alan Bateman
6878027374 8013647: JPRT unable to clean-up after tests that leave file trees with loops
Reviewed-by: chegar, tbell
2013-04-30 21:19:24 +01:00
Alan Bateman
1dea05c94f 8012930: (fs) Eliminate recursion from FileTreeWalker
Reviewed-by: chegar
2013-04-23 15:01:44 +01:00
Alan Bateman
6c1e93b7c6 8011536: (fs) BasicFileAttributes.creationTime() should return birth time (mac)
Reviewed-by: chegar
2013-04-18 11:13:18 +01:00
Xueming Shen
38e4efd784 8011647: Add java.time.Instant methods to java.nio.file.attribute.FileTime
Added the toInstant()/from(Instant) to FileTime

Reviewed-by: alanb
2013-04-12 12:03:00 -07:00
Dan Xu
4994fe0840 8006645: TEST_BUG: java/nio/file/Files/CopyAndMove.java failing intermittently (sol)
Fix test failures and update java doc of Files.move

Reviewed-by: alanb, chegar
2013-03-01 14:12:59 -08:00
Alan Bateman
69b0c6aad4 6939260: (fs) BasicFileAttributes.lastModifiedTime() should return last modified time with higher precision
Reviewed-by: chegar
2013-01-18 18:48:44 +00:00
Alan Bateman
36e2ef2ba8 8005566: (fs) test/java/nio/file/Files/Misc.java failing (sol)
Reviewed-by: chegar
2013-01-11 12:27:57 +00:00
Mark Sheppard
c9063f559f 8003890: corelibs test scripts should pass TESTVMOPTS
Reviewed-by: chegar, alanb
2012-12-13 14:47: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
Dan Xu
f41a30cb5c 6950237: Test java/nio/file/Path/CopyAndMove.java does not work correctly when test dir in on VFAT
Reviewed-by: alanb
2012-09-28 11:14:20 +01:00
Alan Bateman
ddd9274a10 7033824: TEST_BUG: java/nio/file/Files/CopyAndMove.java fails intermittently
Reviewed-by: chegar
2012-08-31 12:25:37 +01:00
Alan Bateman
edd2d4ce86 7191467: (fs) WatchService periodically fails to queue ENTRY_DELETE event for short lived file [sol11]
Reviewed-by: chegar
2012-08-19 13:29:01 +01:00
Xueming Shen
067447f6c6 7130915: File.equals does not give expected results when path contains Non-English characters on Mac OS X
To support Unicode nfd/nfc file path on Macos

Reviewed-by: alanb
2012-07-19 21:23:53 -07:00
Alan Bateman
6fed495d1f 7164570: (fs) WatchService queues CREATE event but not DELETE event for very short lived files [sol11]
Reviewed-by: chegar
2012-05-01 11:17:20 +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
3ecf3e0fa1 7152866: Tests not run because they are missing the @run tag
Reviewed-by: chegar, dholmes
2012-03-12 10:17:18 +00: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
9ace5d5b19 7144086: TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java failing intermittently
Reviewed-by: chegar
2012-02-09 16:38:36 +00:00
Alan Bateman
b37db2a9db 7142847: TEST_BUG: java/nio/file/WatchService/SensitivityModifier.java has incorrect @run tag, runs Basic
Reviewed-by: chegar
2012-02-07 13:28:32 +00:00
Stephen Flores
a046e398d5 7076310: (file) AclEntry.Builder setFlags throws IllegalArgumentException if set argument is empty
Reviewed-by: alanb
2011-12-22 10:52:17 +00:00
Brandon Passanisi
6702bf177f 7087549: (fs) Files.newInputStream throws UOE for custom provider options
Reviewed-by: alanb
2011-12-17 20:07:14 +00: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
Alan Bateman
fba270080e 7029979: (fs) Path.toRealPath(boolean) should be toRealPath(LinkOption...)
Reviewed-by: sherman
2011-04-04 18:09:53 +01:00
Alan Bateman
8dfe1d556a 7017446: (fs) Updates to file system API (3/2011)
Reviewed-by: sherman
2011-03-19 14:21:52 +00:00
Alan Bateman
a36a5ce599 7025468: Tests using diamond with anonymous inner classes needs to be reverted
Reviewed-by: dholmes, forax
2011-03-08 10:32:18 +00:00
Alan Bateman
c4da54f7a9 7023034: Files.createTempDirectory((Path)null, "temp") does not throw NPE
Reviewed-by: forax
2011-03-01 12:03:44 +00:00
Alan Bateman
8e29241702 7020517: (fs) FileStore.equals returns true if both volumes have the same serial number
Reviewed-by: chegar
2011-02-21 13:54:13 +00:00
Alan Bateman
14997b102e 7016704: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with new version of find (lnx)
Reviewed-by: forax
2011-02-14 18:30:53 +00:00
Alan Bateman
6207a0fa9c 7003155: (fs) Paths.get(<file-uri>) does not handle escaped octets correctly
Reviewed-by: sherman
2011-02-07 13:55:40 +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
Kelly O'Hair
6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00
Alan Bateman
c6d66451cf 6993267: TEST_BUG: java/nio/file/Path/InterruptCopy.java fails intermittently (win)
Reviewed-by: forax
2010-10-21 14:39:58 +01:00
Alan Bateman
b44a1bd105 6907737: (file) FileVisitor and Files.walkFileTree issues
Reviewed-by: sherman
2010-10-03 19:39:25 +01:00
Alan Bateman
afac13bfe2 6979526: (file) java/nio/file/FileStore/Basic.java fails if the same file system is mounted more than once
Reviewed-by: kevinw, forax
2010-10-02 12:59:04 +01:00
Alan Bateman
0fb0f54897 6881498: (file) Re-examine DirectoryStream exception handling
Reviewed-by: forax
2010-09-10 16:36:48 +01:00
Alan Bateman
b7ca44871e 6978511: (file) Path.toRealPath should fail if not resolving links and file does not exist
Reviewed-by: forax, chegar
2010-08-23 17:11:07 +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
140ed0124d 6931216: TEST_BUG: test/java/nio/file/WatchService/LotsOfEvents.java failed with NPE
Reviewed-by: chegar
2010-03-03 16:09:36 +00:00
Sebastian Sickelmann
c9776d3175 6929532: (file) WatchService should avoid queuing new modify events when lots of files are changing
Reviewed-by: alanb
2010-02-27 18:18:33 +00:00
Alan Bateman
bdfb60de8c 6926800: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with newer versions of find(1)
Reviewed-by: forax
2010-02-23 18:21:31 +00:00
Alan Bateman
4623333de0 6925932: (file) Path.endsWith can throw ArrayIndexOutOfBoundsException (unx)
Reviewed-by: chegar
2010-02-23 17:58:30 +00:00
Alan Bateman
4337f1df36 6925977: (file) test/java/nio/file/Path/CheckPermissions.java fails if test.src on read-only file system
Reviewed-by: chegar
2010-02-23 17:56:55 +00:00
Alan Bateman
01c326e0da 6917021: (file) copyTo/moveTo can overrwrite existing file when target associated with custom provider
Reviewed-by: chegar
2010-01-18 15:21:34 +00:00
Alan Bateman
46d57b48e4 6907760: (file) OVERFLOW event should cause pending events to be purged
Reviewed-by: chegar
2010-01-09 19:32:58 +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
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
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
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
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
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
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