Brian Burkhalter
b499c827a5
8349383: (fs) FileTreeWalker.next() superfluous null check of visit() return value
...
Reviewed-by: djelinski
2025-02-05 21:40:47 +00:00
Hannes Wallnöfer
ceae2b977d
8347121: Add missing @serial tags to module java.base
...
Reviewed-by: alanb
2025-01-09 11:49:18 +00:00
Alan Bateman
f1196638b3
8346573: Can't use custom default file system provider with custom system class loader
...
Reviewed-by: mkartashev, bpb
2025-01-07 10:34:18 +00:00
Magnus Ihse Bursie
ddf0461788
8345799: Update copyright year to 2024 for core-libs in files where it was missed
...
Reviewed-by: joehw, jlu, mli, lancea, kevinw
2024-12-11 21:08:22 +00:00
Brian Burkhalter
1d3dcdf2d6
8345433: (fs) Use stream to load FileTypeDetectors in Files.probeContentType
...
Reviewed-by: rriggs, alanb, aturbanov
2024-12-04 20:25:52 +00:00
Brian Burkhalter
aaf3df7bb8
8343823: (fs) Files.createLink: inconsistent behavior when creating link to symbolic link
...
Reviewed-by: alanb
2024-11-21 16:17:58 +00:00
Brian Burkhalter
922b12f30c
8344078: Remove security manager dependency in java.nio
...
Reviewed-by: alanb, rriggs
2024-11-18 19:17:14 +00:00
Sean Mullan
db85090553
8338411: Implement JEP 486: Permanently Disable the Security Manager
...
Co-authored-by: Sean Mullan <mullan@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Aleksei Efimov <aefimov@openjdk.org>
Co-authored-by: Brian Burkhalter <bpb@openjdk.org>
Co-authored-by: Daniel Fuchs <dfuchs@openjdk.org>
Co-authored-by: Harshitha Onkar <honkar@openjdk.org>
Co-authored-by: Joe Wang <joehw@openjdk.org>
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Co-authored-by: Justin Lu <jlu@openjdk.org>
Co-authored-by: Kevin Walls <kevinw@openjdk.org>
Co-authored-by: Lance Andersen <lancea@openjdk.org>
Co-authored-by: Naoto Sato <naoto@openjdk.org>
Co-authored-by: Roger Riggs <rriggs@openjdk.org>
Co-authored-by: Brent Christian <bchristi@openjdk.org>
Co-authored-by: Stuart Marks <smarks@openjdk.org>
Co-authored-by: Ian Graves <igraves@openjdk.org>
Co-authored-by: Phil Race <prr@openjdk.org>
Co-authored-by: Erik Gahlin <egahlin@openjdk.org>
Co-authored-by: Jaikiran Pai <jpai@openjdk.org>
Reviewed-by: kevinw, aivanov, rriggs, lancea, coffeys, dfuchs, ihse, erikj, cjplummer, coleenp, naoto, mchung, prr, weijun, joehw, azvegint, psadhukhan, bchristi, sundar, attila
2024-11-12 17:16:15 +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
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
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
19287eeeb2
8321561: (fs) Clarify non-atomic behavior of Files.move
...
Reviewed-by: alanb
2024-01-17 16:34:33 +00:00
Brian Burkhalter
475306b757
7057369: (fs spec) FileStore getUsableSpace and getUnallocatedSpace could be clearer
...
Reviewed-by: alanb
2024-01-10 16:34:06 +00:00
Brian Burkhalter
51be857f3c
8322166: Files.isReadable/isWritable/isExecutable expensive when file does not exist
...
Reviewed-by: alanb
2023-12-19 18:27:06 +00:00
Brian Burkhalter
6c6beba256
8317128
: java/nio/file/Files/CopyAndMove.java failed with AccessDeniedException
...
Reviewed-by: alanb, lancea
2023-10-06 17:46:03 +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
2eae13c669
8214248: (fs) Files:mismatch spec clarifications
...
Reviewed-by: alanb
2023-08-22 19:04:46 +00:00
Brian Burkhalter
2bdfa836ad
8262742: (fs) Add Path::resolve with varargs string
...
Reviewed-by: alanb
2023-07-24 19:59:17 +00:00
Pavel Rappo
5cc71f817f
8312089: Simplify and modernize equals, hashCode, and compareTo in java.nio and implementation code
...
Reviewed-by: alanb, vtewari
2023-07-17 22:27:48 +00:00
Nagata-Haruhito
9d64a9d220
8306431: File.listRoots method description should be re-examined
...
Reviewed-by: bpb, alanb
2023-06-08 07:03:29 +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
9fa8b9a4a6
8307409: Refactor usage examples to use @snippet in the java.nio packages
...
Reviewed-by: alanb, rriggs
2023-05-12 15:17:22 +00:00
Jonathan Gibbons
c6bd489cc8
8305206: Add @spec tags in java.base/java.* (part 1)
...
Reviewed-by: alanb, naoto, darcy, lancea, dfuchs, iris, mchung
2023-04-04 00:09:38 +00:00
Sergey Tsypanov
25bfed3b12
8302979: (fs) Files usage of SUPPORTED_CHARSETS could be simplified
...
Reviewed-by: alanb, jwaters
2023-02-22 14:08:51 +00:00
Brian Burkhalter
5412439445
8298187: (fs) BsdFileAttributeViews::setTimes does not support lastAccessTime on HFS+
...
Reviewed-by: alanb
2022-12-15 22:47:29 +00:00
Brian Burkhalter
831b35fad3
7093322: (fs spec) Files.newBufferedWriter should be clear when coding errors are detected
...
Reviewed-by: alanb
2022-12-15 17:27:39 +00:00
Sergey Tsypanov
e3c6cf8eaf
8298380: Clean up redundant array length checks in JDK code base
...
Reviewed-by: dholmes, amenkov, serb, vtewari
2022-12-09 12:50:55 +00:00
Brian Burkhalter
10356e767a
8298303: (fs) temporarily remove Path.getExtension
...
Reviewed-by: smarks, alanb
2022-12-07 18:54:18 +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
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
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
Andrey Turbanov
6e7cd7627d
8291061: Improve thread safety of FileTime.toString and toInstant
...
Reviewed-by: alanb
2022-08-05 06:56:20 +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
6f9717b46b
8288836: (fs) Files.writeString spec for IOException has "specified charset" when no charset is provided
...
Reviewed-by: alanb, lancea, iris
2022-06-28 15:05:46 +00:00
Brian Burkhalter
5a8e1e43a4
8287889: (fs) Files.copy description of REPLACE_EXISTING is hard to read
...
Reviewed-by: alanb
2022-06-14 17:59:06 +00:00
Brian Burkhalter
13596cdf69
8287097: (fs) Files::copy requires an undocumented permission when copying from the default file system to a non-default file system
...
Reviewed-by: chegar, alanb
2022-06-02 17:36:25 +00:00
Sergey Tsypanov
168b226b0f
8282662: Use List.of() factory method to reduce memory consumption
...
Reviewed-by: redestad, rriggs
2022-06-01 13:31:36 +00:00
Joe Darcy
bba456a8db
8285676: Add missing @param tags for type parameters on classes and interfaces
...
Reviewed-by: wetmore, smarks, dfuchs, prr, alanb, mchung
2022-04-28 18:00:34 +00:00
Brian Burkhalter
fdce97df5f
8267820: (fs) Files.copy should attempt to copy POSIX attributes when target file in custom file system
...
Reviewed-by: lancea, alanb
2022-03-10 17:36:51 +00:00
Brian Burkhalter
ece89c6df1
8280366: (fs) Restore Files.createTempFile javadoc
...
Reviewed-by: alanb, lancea
2022-01-27 21:00:45 +00:00
Brian Burkhalter
fb8fdc0fbf
8279990: (fs) Awkward verbiage in description of Files.createTempFile(Path,String,String,FileAttribute)
...
Reviewed-by: lancea
2022-01-14 17:47:35 +00:00
Pavel Rappo
d1cad2463a
8278168: Add a few missing words to the specification of Files.mismatch
...
Reviewed-by: rriggs, bpb, iris, alanb
2021-12-03 09:54:23 +00:00
Brian Burkhalter
239a35aa91
8233749: Files.exists javadoc doesn't mention eating IOException
...
Reviewed-by: lancea, alanb
2021-10-08 16:43:16 +00:00
Pavel Rappo
97b28742b4
8274509: Remove stray * and stylistic . from doc comments
...
Reviewed-by: alanb, dfuchs, lancea, iris, bpb
2021-09-29 17:09:08 +00:00
Jaikiran Pai
8c122af6d8
8274314: Typo in WatchService#poll(long timeout, TimeUnit unit) javadoc
...
Reviewed-by: alanb, lancea
2021-09-25 12:42:03 +00:00
Pavel Rappo
5ffbe75557
8274195: Doc cleanup in java.nio.file
...
Reviewed-by: alanb, lancea, bpb
2021-09-23 16:18:07 +00:00
Pavel Rappo
8799856528
8274075: Fix miscellaneous typos in java.base
...
Reviewed-by: dfuchs, darcy, iris, lancea, bpb
2021-09-23 08:08:39 +00:00
Pavel Rappo
b4b121018d
8273616: Fix trivial doc typos in the java.base module
...
Reviewed-by: jrose, iris, lancea, dfuchs, rriggs
2021-09-13 17:46:13 +00:00
Jaikiran Pai
8156ff609b
8271147: java/nio/file/Path.java javadoc typo
...
Reviewed-by: iris
2021-07-23 04:06:59 +00:00
Patrick Concannon
438895903b
8268056: Update java.net and java.nio to use switch expressions
...
Reviewed-by: dfuchs, michaelm, chegar, iris, alanb
2021-06-09 10:13:25 +00:00