Commit Graph

107 Commits

Author SHA1 Message Date
SendaoYan
44151f475f 8342145: File libCreationTimeHelper.c compile fails on Alpine
Reviewed-by: mbaesken
2024-10-16 16:27:57 +00:00
SendaoYan
f56a154132 8341881: [REDO] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: liach, sgehwolf, ihse, bpb
2024-10-14 12:32:55 +00:00
Christian Hagedorn
36fca5d19d 8341882: [BACKOUT] java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: thartmann
2024-10-10 06:40:55 +00:00
SendaoYan
9d621d3914 8338884: java/nio/file/attribute/BasicFileAttributeView/CreationTime.java#tmp fails on alinux3
Reviewed-by: sgehwolf, bpb
2024-10-10 01:04:02 +00:00
Brian Burkhalter
2ada313cdd 8340329: (fs) Message of NotLinkException thrown by FIles.readSymbolicLink does not include file name (win)
Reviewed-by: alanb
2024-09-19 15:25:04 +00:00
Brian Burkhalter
f87701635f 8315273: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link (win)
Reviewed-by: djelinski
2024-09-17 15:50:16 +00:00
SendaoYan
7baddc202a 8334339: Test java/nio/file/attribute/BasicFileAttributeView/CreationTime.java fails on alinux3
Reviewed-by: alanb
2024-06-23 18:00:28 +00:00
Fabian Meumertzheim
a8b3f194e8 8330077: Allow max number of events to be buffered to be configurable to avoid OVERFLOW_EVENT
Reviewed-by: bpb, alanb
2024-05-06 17:01:11 +00:00
Brian Burkhalter
dd5d7d0770 8327002: (fs) java/nio/file/Files/CopyMoveVariations.java should be able to test across file systems
Reviewed-by: alanb
2024-04-02 17:13:04 +00:00
Pavel Rappo
012411ad8d 8327046: (fs) Files.walk should be clear that depth-first traversal is pre-order
Reviewed-by: alanb, gli
2024-03-01 13:48:50 +00:00
Brian Burkhalter
bbfda6599a 8326897: (fs) The utility TestUtil.supportsLinks is wrongly used to check for hard link support
Reviewed-by: gli, alanb
2024-02-29 16:47:14 +00:00
sunyaqi
bf13a4e281 8322881: java/nio/file/Files/CopyMoveVariations.java fails with AccessDeniedException due to permissions of files in /tmp
Reviewed-by: bpb
2024-02-26 20:47:59 +00:00
Roger Riggs
13d9e8ff38 8325590: Regression in round-tripping UTF-16 strings after JDK-8311906
Reviewed-by: alanb, redestad
2024-02-13 15:16:50 +00:00
Brian Burkhalter
87516e29dc 8320943: Files/probeContentType/Basic.java fails on latest Windows 11 - content type mismatch
Reviewed-by: cstein, rriggs
2023-12-05 15:56:30 +00:00
Leo Korinth
d52a995f35 8315097: Rename createJavaProcessBuilder
Reviewed-by: lmesnik, dholmes, rriggs, stefank
2023-10-27 08:47:26 +00:00
Brian Burkhalter
1a7fd5d419 8317687: (fs) FileStore.supportsFileAttributeView("posix") incorrectly returns 'true' for FAT32 volume on macOS
Reviewed-by: alanb
2023-10-16 14:49:18 +00:00
Severin Gehwolf
0275efac88 8316304: (fs) Add support for BasicFileAttributes.creationTime() for Linux
Reviewed-by: stuefe, alanb, bpb, mli
2023-10-16 07:40:29 +00:00
Brian Burkhalter
36ac83904c 8073061: (fs) Files.copy(foo, bar, REPLACE_EXISTING) deletes bar even if foo is not readable
Reviewed-by: alanb
2023-09-26 15:27:44 +00:00
Brian Burkhalter
8dfde28b28 8315485: (fs) Move java/nio/file/Path/Misc.java tests into java/nio/file/Path/PathOps.java
Reviewed-by: alanb
2023-09-15 15:15:46 +00:00
Brian Burkhalter
63f561fac2 8306882: (fs) Path.toRealPath(LinkOption.NOFOLLOW_LINKS) fails when "../../" follows a link
Reviewed-by: alanb
2023-08-31 21:14:22 +00:00
Brian Burkhalter
dd64a4a483 8315241: (fs) Move toRealPath tests in java/nio/file/Path/Misc.java to separate JUnit 5 test
Reviewed-by: rriggs
2023-08-30 16:58:16 +00:00
Brian Burkhalter
096b7ff097 8314810: (fs) java/nio/file/Files/CopyInterference.java should use TestUtil::supportsLinks
Reviewed-by: aturbanov, alanb
2023-08-23 15:31:33 +00:00
Brian Burkhalter
6b396da278 8062795: (fs) Files.setPermissions requires read access when NOFOLLOW_LINKS specified
Reviewed-by: alanb
2023-08-16 17:53:56 +00:00
Brian Burkhalter
c132176b93 8114830: (fs) Files.copy fails due to interference from something else changing the file system
Reviewed-by: alanb, vtewari
2023-08-14 17:48:50 +00:00
Brian Burkhalter
2bdfa836ad 8262742: (fs) Add Path::resolve with varargs string
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
sunyaqi
cfae6ef2f6 8309778: java/nio/file/Files/CopyAndMove.java fails when using second test directory
Reviewed-by: alanb
2023-06-16 06:15:55 +00:00
Brian Burkhalter
8dbd384003 8308678: (fs) UnixPath::toRealPath needs additional permissions when running with SM (macOS)
Reviewed-by: lancea, alanb
2023-05-31 19:40:23 +00:00
Brian Burkhalter
a5343fa605 8281149: (fs) java/nio/file/FileStore/Basic.java fails with java.lang.RuntimeException: values differ by more than 1GB
Reviewed-by: jpai, rriggs
2023-05-19 15:37:37 +00:00
Brian Burkhalter
6d4782bc73 8307976: (fs) Files.createDirectories(dir) returns dir::toAbsolutePath instead of dir
Reviewed-by: alanb
2023-05-17 16:04:08 +00:00
Brian Burkhalter
a04b1049ff 8303413: (fs) Ignore polling interval sensitivity modifiers in PollingWatchService
Reviewed-by: alanb
2023-03-03 18:33:58 +00:00
Brian Burkhalter
638d612c6b 8298478: (fs) Path.of should allow input to include long path prefix
Reviewed-by: alanb
2023-02-08 19:20:39 +00:00
Brian Burkhalter
10356e767a 8298303: (fs) temporarily remove Path.getExtension
Reviewed-by: smarks, alanb
2022-12-07 18:54:18 +00:00
Michal Karm Babacek
914ef07fed 8297609: Add application/wasm MIME type for wasm file extension
Reviewed-by: jpai, michaelm
2022-12-05 01:59:20 +00:00
Brian Burkhalter
5b7e70645b 8295753: (fs) UnixPath::toRealPath does not return correct case when links not followed
Reviewed-by: alanb
2022-11-04 17:32:32 +00:00
Brian Burkhalter
25dfcbdea5 8289689: (fs) Re-examine the need for normalization to Unicode Normalization Format D (macOS)
Reviewed-by: jpai, alanb
2022-11-03 15:47:51 +00:00
Brian Burkhalter
50d91a31d4 8057113: (fs) Path should have a method to obtain the filename extension
Reviewed-by: rriggs, lancea, mr, alanb
2022-11-01 21:35:54 +00:00
Brian Burkhalter
a07975bf3e 8294519: (fs) java/nio/file/Files/CopyProcFile.java fails intermittenly due to unstable /proc/cpuinfo output
Reviewed-by: alanb, shade, lancea
2022-09-29 21:06:49 +00:00
Jaikiran Pai
169a5d48af 8294193: Files.createDirectories throws FileAlreadyExistsException for a symbolic link whose target is an existing directory
Reviewed-by: alanb
2022-09-26 05:16:31 +00:00
Brian Burkhalter
6e23b43220 8293502: (fc) FileChannel::transfer methods fail to copy /proc files on Linux
Reviewed-by: alanb
2022-09-19 15:57:06 +00:00
Brian Burkhalter
da596182a4 8264744: (fs) Use file cloning in Linux version of Files::copy method
Reviewed-by: alanb
2022-09-06 18:10:58 +00:00
Brian Burkhalter
6397d564a5 8151430: (fs) BasicFileAttributeView.setTimes should support setting file create time on OS X
Reviewed-by: alanb
2022-08-09 22:29:04 +00:00
Brian Burkhalter
4040927d17 8290047: (fs) FileSystem.getPathMatcher does not check for ":" at last index
Reviewed-by: naoto, rriggs, alanb, lancea
2022-08-09 17:07:14 +00:00
KIRIYAMA Takuya
adf40d25a1 8290149: java/nio/file/Files/probeContentType/Basic.java fails on Windows Server 2019/2022
Reviewed-by: jpai, lancea
2022-07-14 07:00:33 +00:00
Brian Burkhalter
44fb92e2aa 8290197: test/jdk/java/nio/file/Files/probeContentType/Basic.java fails on some systems for the ".rar" extension
Reviewed-by: lancea, dfuchs, jpai
2022-07-13 15:13:27 +00:00
Lance Andersen
6aaf141f61 8289984: Files:isDirectory and isRegularFile methods not throwing SecurityException
Reviewed-by: iris, alanb
2022-07-08 18:56:04 +00:00
Lance Andersen
d48694d0f3 8283335: Add exists and readAttributesIfExists methods to FileSystemProvider
Reviewed-by: alanb
2022-07-05 19:45:08 +00:00
Brian Burkhalter
e291a67e96 8289584: (fs) Print size values in java/nio/file/FileStore/Basic.java when they differ by > 1GiB
Reviewed-by: alanb
2022-07-01 19:13:49 +00:00
Naoto Sato
2728770e3d 8288589: Files.readString ignores encoding errors for UTF-16
Reviewed-by: rriggs, iris, alanb
2022-06-23 15:49:43 +00:00
Brian Burkhalter
d482d7f5b9 8286160: (fs) Files.exists returns unexpected results with C:\pagefile.sys because it's not readable
Reviewed-by: alanb
2022-06-09 16:30:53 +00:00
Naoto Sato
6fb84e2c91 8287541: Files.writeString fails to throw IOException for charset "windows-1252"
Reviewed-by: iris, bpb, alanb, jpai, lancea, aturbanov
2022-06-08 15:50:06 +00:00